Asensio Soler, Councilor of Citizens, relinquishes his act of councilman in the City of Totana (11/04/2017) Acometen works of adaptation of the channel of the ravine of the Santa to its passage by the urban helmet (11/04/2017)
Before you write code you need an algorithm. An algorithm is a list of rules to follow in order to solve a problem. Algorithms need to have their steps in the right order. Think about an algorithm for getting dressed in the morning. What if you put on your coat before your jumper? Your jumper would be on top of your coat and that would be silly! When you write an algorithm the order of the instructions is very important.
In my opinion, a method is a more general concept than algorithm and can be more or less anything, e.g. writing data to a file. Just about anything that should happen due to an event or to some logical expression.n computer science an algorithm still is a step-by-step manner towards solving a problem-an implementation-agnostic set of steps. A method commonly refers to a chunk of code associated with a class or object that does some task-it can implement many algorithms potentially. share | improve this answer.