Wednesday, April 1, 2015

Age

Assalamu Alaikum. Hope, you all are well by the grace of Almighty ALLAH. Today we learn how to do age problem. Take a look at the problems.

Problem 01: Write a program to read the age of n persons and count the number of persons who are not in the age group 50-60.

Solution:




Problem 02: Write a program to read the age of 15 persons and count the number of persons in the age group 40 to 60. Use while and continue statements.

Solution:



Thank you all...:)




0 comments:

Post a Comment