What is an algorithm.Write an algorithm for findig largers of four numbers?
Answers
Answered by
0
In programming, algorithm is a set of well defined instructions in sequence to solve the problem.
lntext = "A" ln = A if (B > ln){ lntext = "B" ln = B} if (C > ln){ lntext = "C" ln = C} if (D > ln){ lntext = "D" ln = D} ouput "largest number is ", lntext
Similar questions
Math,
7 months ago
English,
7 months ago
English,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago