Assignment#3

1 view
Skip to first unread message

Anurag Mishra

unread,
Jun 16, 2011, 12:18:17 AM6/16/11
to C summer class
1. If a five-digit number is input through the keyboard, write a
program to calculate the sum of its digits.
2. If the ages of A, B and C are input through the keyboard, write a
program to determine the youngest of the three.
3. What are various types of loops, used in c language? Express these
loops in the form of each other.
4. Demonstrate the use of break by a c program and explain its
significance.
5. Write a program to reverse a 6 digit number input by user
Reply all
Reply to author
Forward
0 new messages