LIST OF PROGRAMS (42)
1. Simple addition,substraction,multiplication and division of numbers.
2. To find weather a number is even or odd.
3. To find weather a number is +ve or -ve.
4. To find which number is greater than other.
5. Program to convert days to month.
6. Program to find the gross salary using basic salary,DA,HRA..etc.
7. To find grade of a student according to marks received usin 'IF-THEN-ELSE' statement.
8. Program using CONDITIONAL OPERATOR.
9. To evaluate simple expression of the form value-operator-value.
10. Menu Driven program using switch case.
11. To find simple interest using for loop.
12. To find weather the alphabet is in upper case or lower case using switch case.
. By using for loop generate output like :
13. 1111
2222
3333
4444
14. 1
12
123
1234
15. 4321
432
43
4
16. 1234
123
12
1
17. Simple program using while loop.
18. Write a program using Do while loop.
19. Reverse of a digit.
20. To find GCD of two non-negative numbers.
21.To find factorial of a number using recurrsor.
22. Swapping of two numbers.
23. To check weather a number is a palindrom or not.
24. Program using macro expansion.
25. Program using macro with argument.
26. To find the sum of two numbers using an array.
27. Program to write Fibonacci series.
28. To find palindrom of a string using an array.
29. Simple matrix addition using Two-Dimensional array.
30. Simple matrix multiplication using Two-Dimensional array.
31.reverse of a string.
32.Concatination of two arrays to another array.
33.To find largest of 10 numbers using an array.
34.sorting & merging.
35.write simple program using getchar(),putchar() function.
36. write simple program using character test function(i.e. isdigit, isalpha etc….)
37.program for prime numbers.
38.program to write transpose of a matrix.
39.A company insures its driver in following cases.
(1) if the driver is married.
(2) if the driver is unmarried & above 30 yrs of age.
(3) if the driver is unmarried female & above 25yrs.
In all the cases driver is not insured if the marital status,sex,age & the
Driver are input.
Write a program to determine whether driver is insured or not?
40.division of student according to marks.
41. program on call by value.
42. prog. On call by reference using pointer.
No comments:
Post a Comment