+ 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
2 Respuestas
+ 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')
+ 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