Computer Science, asked by homeworkload9831, 1 year ago

What is an algorithm.Write an algorithm for findig largers of four numbers?

Answers

Answered by shalinibisla3
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