Friday, June 1, 2012

Find Out Maximum and Minimum

Assalamu alaikum. hope, you all are well by the grace of Almighty ALLAH. Today we learn how to find out maximum and minimum number from two/ three numbers. Let's look at the problems.

Problem 1: Find out the maximum and minimum between two integer numbers.

Solution: 













We can also do this code by following way.






















Problem 2: Find out the maximum and minimum among three integer numbers.

Solution:




























We can also do this program by the following way.


























Thank You all..:)

0 comments:

Post a Comment