In this post, we will be learning how to find the Maximum or Largest or Greatest number among 3 numbers given as input.
In the above pseudocode, we first take three inputs from user and store them in n1, n2 and n3. Then check whether n1 is greater than n2. If n1 is greater than n2, then check again whether n1 is also greater than n3. If yes, Print "n1 is max", else Print "n3 is max". But if first condition i.e n1>n2 is false, we need to again check whether n2 is greater than n3, If yes then we print "n2 is Maximum" else we Print "n3 is maximum"
thankyou so much! bud it helped me a lot. kudos to you
its very simple algorithm