+ 2

What are algorithms? what are their uses? how they are used? how they are related to programming?

need an answer from u guys! really confused

2nd Mar 2018, 1:01 PM
Aarat Batra
Aarat Batra - avatar
2 Answers
+ 10
Algorithm in simple words::: Using algorithm, our code can solve problem. For example, to check whether a number is even or odd, we use this algorithm::😉 if (a%2==0) print('Even') else: print('Odd')
2nd Mar 2018, 1:10 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
A cooking recipe is an algorithm. An assembly manual for an IKEA closet is also an algorithm. You should just take a look at the Wikipedia page. This will answer your questions. https://en.m.wikipedia.org/wiki/Algorithm
2nd Mar 2018, 1:09 PM
Alex
Alex - avatar