0% found this document useful (0 votes)
25 views3 pages

Placed

Uploaded by

rohithrr7188
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

Placed

Uploaded by

rohithrr7188
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C++, Python, and Java programs for practice

1. Program to check prime number


2. Program to generate prime numbers
3. Program for binary to decimal conversion and vice-versa
4. Program to find the ASCII value of a character
5. Program to add two complex and natural numbers
6. Program to display current date and time
7. Program to find the size of char, int, float, double, long
8. Program to find the sum of natural numbers using recursion
9. Program to find the largest of three numbers
10. Program to find the smallest of three numbers
11. Program to find factors of a given number
12. Program to find numbers of digits in a given string
13. Program to find vowels and consonants in a given string
14. Program to find the largest of Nth number
15. Program to find the perfect number
16. Program to find whether a given year is a leap year or not
17. Program for Fibonacci series
18. Program to find the length of a given string
19. Program to concatenate and copy a string
20. Program to find the average of three numbers
21. Program to check whether a number is Armstrong or not
22. Program to print happy numbers
23. Program to print pronic numbers
24. Program to print Harshad numbers
25. Program to find Armstrong numbers
26. Program to reverse the number or string
27. Program to reverse an array
28. Program to calculate Fahrenheit to Celsius and vice-versa
29. Program to calculate simple interest and compound interest
30. Program to check and print neon numbers
31. Program to find positive and negative numbers
32. Program to count occurrences of an element in a list (overlapping)
33. Program to create n*n matrix
34. Program to sort the elements in an array (ascending and
descending)
35. Program to sort the elements in an array in alphabetic order
36. Fibonacci series using recursion
37. Program to replace a substring in a string
38. Program to remove space from a string
39. Program to find power and cube of a number
40. Program to generate multiplication table
41. Program to generate a triangle of alphabet or number
42. Program to convert feet to meters and vice-versa
43. To remove all punctuation from the string provided by the user
44. Program to find repeated letters in a given string
45. Program to find repeated numbers in an array, list
46. Program to covert digits to words
47. Program for floor and ceiling
48. Program to calculate standard deviation
49. Program to remove all duplicates
50. Program to count words in a given string
51. Program to calculate the area of a triangle and circle
52. Program to calculate the speed, distance, and time
53. Program to find peak element
54. Program to merge two arrays
55. Python program to create, append, remove, and insert a list
56. Python program to create, append, remove, and convert a
dictionary
57. Program to generate palindromic numbers
58. Program to find the boundary elements in an array
59. Program to replace a character in a string
60. Program for shuffling a given array
61. Program to find mean, median, and mode
62. Program to find whether a given string or number is
palindrome(symmetrical) or not
63. Program to find the sum of digits given by the user (Arithmetic
operations)
64. Write code to check if two strings match where one string contains
wildcard characters
65. Write a code to replace each element in an array by its rank in the
array
66. Write a Program to Find the Prime Factors of a Number.
67. Program to interchange first and last elements in an array
68. Program to find uppercase, lowercase, special characters, and
numerical values (If Python uses Regex)
69. Program to rotate the elements in an array
70. To find the min and max numbers from the list, array
71. Program to find the sum of multiples
72. Program to find the odd and even numbers in a list (also do for
array)
73. Program to sort the elements (try all sorting techniques ex. bubble
sort, merge sort, Insertion sort, etc.)
74. The program to check the given is a subset of a superset of a set
75. Program to perform UNION, INTERSECTION
76. Program for Inheritance (All types)
77. Program to generate a random password
78. C++ program to show encapsulation
79. C++ program to show Abstraction
80. Python program to read, and write a file
81. Conversion of binary to decimal, octal to hexadecimal
82. C++ program to show Polymorphism
83. Program to Count number of occurrences (or frequency) in a sorted
array
84. Program to find the difference between two dates
85. Program to find the difference between two times
86. Program to find given string is an anagram or not
87. C++ Program for towers of Hanoi
88. Program to swap the values of two variables
89. Program for GCD(HCF) and LCM
90. Program to add two matrices using multi-dimensional array
91. Program for addition, subtraction and multiplication of matrices
92. Program to convert kilometres to miles
93. Program to print
94. Program to find transport of a matrix
95. Programs on Stack and Queue
96. Programs on Linked Lists
97. Programs on Trees
98. Searching, soring
99. Graphs
100. Conversions

You might also like