LAB Cycle 1 (Last Date: 07/11/’12)
1. Program to perform addition of two integer numbers
2. Program to print Area of a circle(3.14*r*r)
3. Program to convert the Fahrenheit temperature to Celsius
4. Program to find Area of a triangle
5. Program to find Area and perimeter of a rectangle (area=lb, perimeter=2(l+b))
6. Program to print Student Details
7. Program to Convert Km to cm, inches and feet
8. Program to Change the values(i.e. if a=5 and b=10 ,after process a=10 and b=5)
9. Read a 5 digit from the keyboard and write a program to calculate sum of digits
10. Program to prepare Bio-data using formatted input output (also use format
specifications)
11. Program to find the cost price of the item
12. Read a 4 digit from the keyboard and write a program find the sum of first and
last digit
13. Write a program to Read a 4 digit from the keyboard and find the square of each
digit
14. Program to prepare population and percentage of literacy
15. Program to find Total cost of a vehicle
16. Program to find Simple interest
17. Program to find the number of currency notes(example 1f Rs.363 then
Rs.100=3Nos , Rs.50=1No, Rs.10=1No, Rs.2=2Nos, Rs.1=1No)
18. Program to convert the days into month and date
19. Program to use symbolic constant (Area of a circle)
20. Program to use user defined datatype,typedef.(sum of two numbers)
Note:
Red Marked PROGRAMES writes on your
rough record with a simple algorithm.
Programes must contain documentation
section and corresponding comment line for each
instructions.
Use testing of the character keyed.
*Example: isdigit(c);Etc.+