C++ Program to Check Strings are Anagram or Not

  • Write a C++ program to check whether two strings are anagram or not.

In this C++ Program. we will check whether two strings are anagram or not and print message accordingly on screen.

C++ Program to Perform Addition Subtraction Multiplication Division

  • Write a C++ program to add, subtract, multiply and divide two numbers.
  • C++ program to perform arithmetic operations.

In this program, we will learn about basic arithmetic operators in C++ programming language.

C++ Program to Convert Fahrenheit to Celsius

  • Write a C++ program to convert temperature from fahrenheit to celsius degree.

In this C++ program to convert temperature from Fahrenheit to Celsius , we will take temperature in fahrenheit as input from user and convert to Celsius and print it on screen. To convert Fahrenheit to Celsius we will use following conversion expression:

C++ Program to Find Area and Circumference of a Circle

In this C++ program, we will calculate circumference and area of circle given radius of the circle.
The area of circle is the amount of two-dimensional space taken up by a circle. We can calculate the area of a circle if you know its radius. Area of circle is measured in square units.

C++ Program to Find Area and Perimeter of Parallelogram

In this C++ program, we will calculate perimeter and area of parallelogram. Before jumping to C++ program, let's first discuss about parallelogram and it's properties.

C++ Program to Calculate Grade of Student Using Switch Case

In this C++ program, we will calculate the grade of a student based on the total marks obtained by the student in five subjects. Here we will use a switch case statement, however you can write same program using if-else ladder statement also. Here is the range of Grades:

C++ Program to Calculate Average Percentage Marks

  • Write a C++ program to find average marks of five subjects using loop.

In this C++ program, we will calculate the Total Marks, Average and Percentage Marks of N subjects entered by user. We will first ask user to enter the number of subjects and then the marks of individual subjects. Then we will print Total marks of all subjects, average and percentage marks of all subjects on screen. Here is the formulae to calculate Total Average and percentage marks.

C++ Program to Count Zeros, Positive and Negative Numbers

In this C++ program, we will count number of positive numbers, negative numbers and zeroes in an array. Here we will use if-else statement to compare whether a number is positive, negative or zero.

C++ Program to Store Information of a Book in a Structure

In this C++ program, we will store the information of a book in a structure variable and then display it in screen. We want to store following information for a book Name, Price and ISBN. Here is a sample book record :