Assalamu Alaikum. Hope, you all are well by the grace of Almighty ALLAH. Today we learn how to find out maximum from the n numbers. Take a look at the problem.
Problem: Find out the maximum from the n numbers.
Solution:
Problem: Find out the maximum from the n numbers.
Solution:
We can also do this program by decrements. Take a look at the program.
We can also do this program by the following way.
In the example above, there is no need to initialize max.
Thank you all..:)
0 comments:
Post a Comment