List of Programs
List of Programs
1. WAP that accepts the marks of 5 subjects and find the sum and percentage marks
obtained by student.
2. WAP that calculate the simple Interest and compound interest. The principal Amount
Rate of Interest and time are entered through Keyboard.
3. WAP to calculate area and circumference of circle.
4. WAP that accept temperature in Centigrade and converts into Fahrenheit using the
Formula C/5=(F-32)/9.
5. WAP that swaps values of two variables using a third variable.
6. WAP that checks whether the two numbers entered by the user are equal or not.
7. WAP to find the greatest of three numbers.
8. WAP that finds where the given number is even or odd.
9. WAP that tells whether given year is leap year or not.
10. WAP that accept the marks of five subjects and find the percentage and print the
grades according to the following criteria.
Between 90-100%................ Print ‘A’
80-90%..................................Print ‘B’
60-80…………………………………..Print ‘C’
Below 60%.............................Print ‘D’
11. WAP that takes two operands and one operator from the user performs the
operation and print the result by using Switch operation.
12. WAP to print the sum of all numbers up to a given number.
13. WAP to find the factorial of given numbers.
14. WAP to print the sum of even and odd numbers from 1 to N numbers.
15. WAP to print the Fibonacci Series.
16. WAP to check whether the entered number is prime or not.
17. WAP to find the sum of digits of the entered number.
18. WAP to find the reverse of the number.
19. WAP to print Armstrong Armstrong number from 1 to 500.
20. WAP to convert binary number into decimal number and vive versa.
21. WAP that simply takes elements of the array from the user and finds the sum of
these Elements
22. WAP that inputs two arrays and saves sum of corresponding elements of these arrays
in a third array and prints them.
23. WAP to find the minimum and maximum element of the array.
24. WAP to search an element in an array using Linear Search.
25. WAP to Short the elements of the array in ascending order using Bubble short
technique.
26. WAP to add and multiply two matrices of order nxn.
27. WAP that finds the sum of diagonal element of mxn matrix.