Assignment Questions

1. Write a CPP program to find largest among three numbers?
2. Write a CPP program to check whether the given number is perfect number or not?
3. Write a CPP program to find the largest element in a matrix with any order?
4. Write a CPP program to check whether the given number is palindrome or not?
5. Write a CPP program to check whether the given word is palindrome?
6. Write a CPP program to check whether the given number is divisible by 7?
7. Write a CPP program to find second largest element in an array?
8. Write a CPP program to find Sum of two matrices?
9. Write a CPP program to print transpose of a given matrices?
10. Write a CPP program to print the given number in reverse order?
11. Write a CPP program find the sum of digits of a given number?
12. Write a CPP program to find the largest digits in a given number?
13. Write a CPP program to print the decimal equivalence of a given binary number?
14. Write a CPP program to find sum of n natural numbers?
15. Write a CPP program to find sum of n odd numbers?
16. Write a CPP program to find number of vowels present in a word?
17. Write a CPP program to find number of words present in a sentence?
18. Write a CPP program to print all prime numbers with in a range?
19. Write a CPP program to print first n Fibonacci numbers?
20. Write a CPP program whether the given number is Fibonacci number?
21. Write a CPP program to calculate the sum of numbers of an array?
22. Write a CPP program to search an element in an array?
23. Write a CPP program to find the solution of a quadratic equation?
24. Write a CPP program to find the product of two matrices?
25. Write a CPP program to sort the array of numbers?
26. Write a CPP program to concatenate two string?
27. Write a CPP program to list cube, square and square root of first n numbers?
28. Write a CPP program to print area and perimeter of a given circle?
26. Write a CPP program to print area and volume of a sphere?
28. Write a CPP program to swap two number using function?
29. Write a CPP program to print area of a right angle traingle?
30. Write a CPP program to print area of a rectangle?
31. Write a CPP program to print the days of week using switch case?
32. Write a CPP program to print the name of month using switch statement?
33. Write a CPP program to find the length of a word?

No posts.
No posts.