- 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.
In this program, we will learn about basic arithmetic operators in C++ programming language.
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:
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.
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.
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:
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.
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.
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 :