C, C++, Java Programming Programs for Practice Welcome to our collection of C, C++, and Java programming programs for practice—a dedicated space designed to help learners strengthen their coding fundamentals and problem-solving skills.Whether you are a beginner starting with basic syntax or an intermediate programmer looking to sharpen your logic, these programs cover a wide range of concepts, from simple input/output and control statements to functions, arrays, object-oriented programming, and algorithms. Each program is crafted to encourage hands-on learning, making it easier to understand core programming principles and build confidence through practice.If you want any other program on any programming language then please reach out to use with your topic name and programming language name.100+ C ProgramsThe First C ProgramReading Input in a C ProgramCompiling C ProgramsC Program to read a number and print the factorialC Program to Print the Sum of N Natural NumbersC Program to Print Factorial of any Given NumberC Program to Check a Prime Number or NotC Program to Print the Power of a Given NumberC Program to Print Factors of a Given NumberC Program to Print Factorial using RecursionC Program to find gross salaryC Program to Reverse a Given NumberC Program to Swap Two Numbers without Using a Third VariableC Program to Calculate the sum of subjects and find the percentageC Program to convert temperature from centigrade to FahrenheitC Program to find simple interestC Program to find the area and circumference of a circleC Program to find the sum of two numbersC Program to find the sum of two matricesC Program to find even/odd numbersC Program to display a matrixC Program to show the use of the conditional operatorC Program to find the maximum number in an arrayC Program to find the greatest of 3 NumbersC Program to show the sum and average of 10 elements of an arrayC Program to print a table of any numberC Program to add two numbers using pointersC Program to use the bitwise AND operator between the two integersC Program to display an odd number series and find the sumC Program to display the sum of the harmonic seriesC Program to print the Fibonacci series up to 100C Program to print a star pattern in a pyramid shapeC Program to print a star pattern in a reverse triangle shapeC Program to print a star pattern in a triangle shapeC Program to display the first 10 natural numbers and their sumC Program to display arithmetic operations using a switch caseC Program to display weekdays using a switch statementC Program to find the subtraction of two matricesC Program to shift input data by two bits to the leftC Program to find occurrences of vowels, consonants, words, spaces and special characters in give sentenceC Program to merge two arrays, excluding the repeating elementsC Program to perform file operationsC Program to find a palindrome numberC Program to find the largest of two numbers using the functionC Program to show call by referenceC Program to show call by valueC Program to show a table of numbers using a functionC Program to find the factorial of a number using a functionC Program to swap two numbers using a functionC Program to find the square of a number using a functionC Program to show input and output of a stringC Program to print the powers of 2 tables for the powers 0 to 20C Program to find the maximum number in an array using a pointerC Program to print the multiplication tableC Program to find the transpose of a matrixC Program to evaluate the equation y=xnC Program to find the multiplication of two matricesC Program to display months using enumC Program for finding the largest number in an arrayC Program for sorting the elements of an array in descending orderC Program to count the number of students in each groupC Program to evaluate a square expression and its sumC Program for plotting of two functionsC Program of minimum cost problemC Program to draw a histogramC Program to print a binomial coefficient tableC Program to read a line of textC Program to illustrate the use of the continue statementC Program to read a string using the scanf() functionC Program to evaluate the geometric progression seriesC Program for production and sales analysisC Program to illustrate the use of the break statementC Program to evaluate response to a multiple-choice testC Program to print the total marks obtained by a studentC Program to calculate standard deviationC Program to sort a list of numbers and to determine the medianC Program for finding the desired kth smallest element in an arrayC Program for removing duplicate elements in an arrayC Program to use functions with no arguments and no return valuesC Program to sort a customer list in the alphabetical listC Program for counting characters, words, and lines in a textC Program to sort a list of names in alphabetical orderC Program to calculate the square and cube by using a function as an argumentC Program to use string handling functionsC Program to return only absolute valuesC Program to concatenate a stringC Program to pass arguments to a user-defined function by value/referenceC Program to print the Character and Decimal value of alphabetC Program to return more than one value from a user-defined functionC Program to count the number of characters copied into a stringC Program to show the use of user defined functionC Program to use global variables on different functionsC Program to use similar variables in different functionsC Program to define & call user-defined functionsC Program to call a user-defined functionC Program to find the power of a value using a functionC Program to use functions with arguments and return valuesC Program to use functions with arguments but no return valuesC Program to use the ++ operator with the return value of a functionC Program to perform multiplication and division of numbersC Program to perform addition and subtraction of numbersC Program to assign the return value of a function to another variableC Program to call the function through a for loopC Program to call the user-defined function through the switch() statementC Program to call the user-defined function through an if statementC Program to evaluate the function equation s = sqr(a() + b())C Program to use modulo % with a functionStudent marksheet program in C programmingC++ Programs for PracticeC++ Program to print a message on the screenProject – Library Management System Program in C++C++ Program to calculate the salary of the servantC++ Program to find out the grades of given marksC++ Program to find out the greater number from given numbersC++ Program to find out whether the given number is odd or evenC++ Program to inherit derived constructorC++ Program to display the reverse of a given numberC++ Program to print the ASCII value of a characterC++ Program to convert temperature from Fahrenheit to centigradeC++ Program to enter two numbers and show their sumC++ Program to swap two numbers using third variableC++ Program to calculate the result of students using marksC++ game to find out a numberC++ Program to print the table of a numberC++ Program to find out the smallest number from given numbersC++ Program to calculate the factorial of a given numberC++ Program to select an operation from a list and display its resultsC++ Program to generate a random number in circles and find out the sumC++ Program to solve arithmetic operationsC++ Program to convert the dollar into different currenciesC++ Program to display the given number in roman numberC++ Program to find out whether the given character is a vowel or notC++ Program to use symbols as words using preprocessor DirectivesC++ Program to calculate the age of a human by entering the date of birthC++ Program to convert the upper to lower and lower to upper case lettersC++ Program to calculate the electricity bill of consumed units by the userC++ Program to convert the small case letters to upper case lettersC++ Program to find out the nth term of its factorialC++ Program to search for a number from a list by sequential searchC++ Program to find out the exponent of a given numberC++ Program to sort characters in ascending order by using bubble sortC++ Program to display the text in different coloursC++ Program to convert the decimal number into a binary numberC++ Program to find out the day of the given date, starting from Jan 2001C++ Program to find out the maximum number from an arrayC++ program to display the ASCII valuesC++ Program to calculate the area of a roomC++ Program to print students’ details using a structureC++ Program to display a stopwatch on screen for 2 minutesC++ Program to print a diamond pattern of starsC++ Program to display the pattern of alphabetsC++ Program to find out the factors of a given numberC++ Program to display the sum of mathematics seriesC++ Program to create a game [Find Hidden Word]C++ Program to display the rectangle on the screenC++ Program to sort the numbers using selection sortC++ Program find out whether the given number is prime or notC++ Program to sort the numbers using insertion sortC++ Program to display a word in the middle of the screenC++ Program to create a puzzle gameC++ Program to find out Armstrong numbers from 1 to 500C++ Program to compare two stringsC++ Program to calculate the number of characters in the given stringC++ Program to calculate the standard deviation of a given rangeC++ Program to open a file in binary mode and then get data in that fileC++ Program to use the setw functionC++ Program to create a file in binary mode and then put data in that fileC++ Program to display the Fibonacci series using a functionC++ Program to count the characters, tabs, and vowels in a line from a fileC++ Program to find out the raise to a power using recursionC++ Program to copy data from one file to another fileC++ Program to find out the prime numbers from a given rangeC++ Program to count the number of lines in a fileC++ Program to calculate the square root of a given numberC++ Program to copy a string into a file, then read it and display it on the screenC++ Program to print the values of a pointer character arrayC++ Program to create a file in text mode, write and then read data from the fileC++ Program to access the value of a variable using a pointerC++ Program to use a friend classC++ Program to display the address of a variableC++ Program to display the distance in feet and inchesC++ Program for Matrix MultiplicationC++ Program to use a destructorC++ Program to create user define header fileC++ Program to calculate the multiplication of two numbers without using the * symbolC++ Program to find out the smallest number from the given numbersC++ Program to search a record from a fileC++ Program to search a record from a binary fileC++ Program to open a file in binary mode and count the total recordsC++ Program to inherit the classC++ Program to overload binary operatorsC++ Program to overload [] binary operatorC++ Program for binary operator overloadingC++ Program to display the file using the command line of the compilerC++ Program to update the record in binary modeC++ Program to search the record in binary fileC++ Program to display a message by using multiple virtual functionsC++ Program to display a message by using a virtual functionC++ Program to multiply three numbers using a friend functionC++ Program to override a function100+ Java Programs for PracticeSimple Java Program ExampleJava Program to compare two numbers using if-elseJava Program for the Addition of Two NumbersJava Program for Subtraction of Two NumbersJava program to print fibonacci seriesJava Program to check a prime numberJava Program to print N prime numbersJava Program to check a palindrome numberJava Program to Print Student MarksheetJava Program using Static variable and methodJava Program using an interfaceJava Program to print the sum of command line argumentsJava Program for Handling an ExceptionJava Swing program to calculate the square of a numberJava Program to use the equal functionJava Program to handle an action eventJava Program using a constructorJava Program to print shapes using an appletJava Program to generate random numbers between 1 and 100Java Program for Method OverloadingJava Program using switch caseJava Program using an abstract classJava Program to find the sum and product of the digits of a numberJava Program to find the sum of integers divisible by 7Java Program to concatenate a string using a for loopJava Program to display a multiplication tableJava Program to swap two valuesJava Program to convert days into monthsJava Program to find an Armstrong numberJava Program to print characters of integersJava program to generate the Harmonic seriesJava Program to find the average of consecutive N odd and even numbersJava Program to take command-line argumentsJava program to use a class and an objectJava program using conditional operatorsJava program to use this keywordJava program using a double variableJava program to use the super keywordJava program to use a nested switch caseJava Program to check for a leap yearJava Program to print factorialJava Program to print a list of even numbers15+ Pattern programs in JavaJava Program to print FLOYD’S TRIANGLEJava Program to print a star pattern in a square shapeJava Program to print a pyramid of numbers using a for loopJava Program to print Even number between a rangeJava Program to print the Fibonacci series using an arrayJava Program to print a star pattern in a pyramid shapeJava Program to check if a list of numbers is a palindromeJava program to print a star pattern in a reverse pyramid shapeJava program to print prime numbers between given rangeJava Program to print a star pattern in a diamond shapeJava Program to print factorial using recursionJava Program to calculate the area of a circle using radiusJava program to print a star pattern in a triangle shapeJava Program to print a star pattern in a reverse triangle shapeJava Program to print a number pattern in a triangle shapeJava Program to print a number pattern in a reverse triangle shape