How many steps does the following algorithm take?
Answer-
Example- algorithm for sum of two number-
Step 1- Start
Step 2- initialize variable /////(a,b,sum)
Step 3- take the input or declare the value of variable ////(a=4,and b=5)
Step 4- add the value and store ////// (sum= 4+5)
Step 5- print the output ////(sum=9)
Step 6- output
Note- Please do upvote, if any problem then comment in
box sure I will help.
Get Answers For Free
Most questions answered within 1 hours.