Contents

1. Write a simple program to print your name, class.

2. Write C++ program to calculate sum of two numbers.

3. Write C++ Program to print your name 100 times.

4. Write C++ program to swap two numbers using macros.

5. Write C++ Program To Accept Student Roll No, Marks in 3 Subjects and Calculate Total, Average and Print it.

6. Write C++ Program to Read Three Numbers And Print The Biggest Of Given Three Numbers.

7. Write C++ Program to print numeric pyramid.

8. Write C++ Program to convert binary number to decimal number.

9. Write C++ Program to convert a decimal number to binary number.

10. Write program to display number in hexadecimal form.

11. Write a program to swap to numbers using a third variable called temp.

12. Write a c++ Program to print ODD numbers from 1 to 10.

13. Write a c++ Program to print natural numbers from 1 to 10 in Reverse.

14. Write a c++ Program to accept a string in any case and print it by another case.

15. Write C++ Program to check whether a given number is perfect or not.

16. Write C++ Program to print table of any number.

17. Write C++ Program to read ‘n’ number and print them in matrix terms in all orders.

18. Write C++ Program to accept two numbers and print the sum of given two numbers by using pointers.

19. Write a c++ Program to accept a string in upper case and print it by lower case.

20. Write a c++ Program to accept any single digit number and print it in words.

21. Write C++ program to reverse a number.

22. Write C++ program to find largest number of a list of numbers entered through keyboard.

23. Write C++ Program to calculate and print the sum of even and odd integers of the first n natural numbers.

24. Write C++ Program to find area of a triangle when there sides are given.

25. Write C++ Program to find whether a number is divisible by ‘11’ or not without actual division.

26. Write C++ Program to check whether a number is prime number or not.

27. Write C++ Program to print following series using function: x + x^3/3! + x^5/5! +…….+ x^n/n!.

28. Write C++ program to find sum of series 1 + 2 + 3 +……+ n.

29. Write C++ program to find sum of series 1/2+4/5+7/8+……

30. Write C++ program to find sum of series 1+x+x^2+……+x^n.

31. Write C++ program to find sum of series 1^2+3^2+5^2+……+n^2.

32. Write C++ Program to print given series:1 2 4 8 16 32 64 128.

33. Write C++ Program to Print following series: 1 -4 7 -10……….-40.

34. Write C++ program to swap values of two variables using pass by reference method.

35. Write C++ program to print truth table of XY+Z.

36. Write C++ Program to find First three Pythagorian Triplet.

37. Write C++ Program to Check Whether a Number is Unique Number or Not.

38. Write a program to swap to numbers without using a third variable.

39. Write C++ program to calculate area of a circle,a rectangle or a triangle depending upon user’s choice.

40. Write C++ Program to perform all arithmetic calculation using switch case.

41. Write C++ Program to do arithmetic operations according to user choice using switch case.

42. Write a program to check given number is multiple of number entered by user.

43. Write a program to check given year is leap or not.

44. Write a program to convert gallons to litehttps://cppcollege.com/code-44/rs.

45. Write a C++ program to find the sum of individual digits of a positive integer.

46. Write a C++ program to the number count of letters in a given text.

47. Write a C++ program to sort a list of numbers in ascending order.

48. Write a C++ program to find both the largest and smallest number in a array of integers.

49. Write a program to find the largest of two numbers.

50. Write a program to generate square root of 1 to 10.

51. Write a program to find out entered number.

52. Write a program to calculate GCD of two numbers.

53. Write a program to calculate factorial of a number.

54. Write a C++ program to generate all the prime numbers between 1 to n, where n is a value supplied by the user.

55. Write a C++ program to generate the first n terms of the sequence.

56. Write a C++ program to sort a list of names in ascending order.

57. Write a program to find abolute value of the integer.

58. Write a program for addition of 2 matrices.

59. Write a program to find average of number three numbers.

60. Write a program to check whether given string is palindrome or not.

61. Write a program to Print ASCII value of Digits, Uppercase and Lowercase alphabets.

62. Write a C++ Program to raise any number x to a positive power n.

63. Write a C++ Program to convert given inches into equivalent yard, feet and inches.

64. Write a C++ Program to Find ASCII value of a character.

65. Write C++ Program to reverse all the strings stored in an array.

66. Write C++ Program to concatenate two strings.

67. Write C++ Program to convert first alphabet of every word in a string from lowercase to uppercase.

68. Write C++ Program to reverse a string.

69. Write C++ Program to find length of a string.

70. Write C++ Program to Find Substring in String (Pattern Matching).

71. Write C++ Program to Remove Spaces From String.

72. Write a C++ Program to find Compound Interest.

73. Write a C++ Program to Convert given no. of days into years, weeks and days.

74. Write a C++ program to find cube of a number using macros.

75. Write a C++ program to multiply two matrices.

76. Write a C++ program to insert an element in an array.

77. Write a C++ program to find largest and second largest no from a 2D array.

78. Write a C++ program to do linear search in Array.

79. Write a C++ Program to find element in Array using Binary search.

80. Write a C++ Program to find highest and lowest element of a Matrix.

81. Write a C++ Program and Algorithm for Selection Sort.

82. Write a C++ Program and Algorithm for Insertion Sort.

83. Write a C++ Program to convert a lowercase alphabet to uppercase or viceversa.

84. Write a C++ Program to print three numbers in descending order.

85. Write C++ Program to find whether a square matrix is a) symmetric b) skew symmetric c) none of two.

86. Write a C++ Program to calculate roots of quadratic equation ax^2+bx+c=0.

87. Write a C++ Program to find quotient and remainder of two numbers.

88. Write a C++ Program to Find LCM and HCF of two numbers.

89. Write a c++ Program to accept a number and check the given number is Armstrong or not.

90. Write C++ Program to Count Occurrence of a Word in a Text File.

91. Write C++ Program to Count no. of alphabates, digits and spaces present in a file test.TXT.

92. Write C++ Program to read from a text file and than write in another text file.

93. Write C++ Program to Count Number of Words, Lines and Total Size of a Text File.

94. Write C++ Program to Remove Spaces from String.

96. Write C++ program to swap two numbers using class.

97. Write C++ program to add, subtract, multiply and divide two complex numbers using structures.

98. Write C++ Program to Compare Two Strings Using Pointers.

99.Write C++ program to perform a PUSH operation on a dynamically allocated stack.

100.Write C++ Program for Linked List Representation of Linear Queue .

 Rate Us
error: Content is protected !!