In this Example, we’ll learn How to print all prime numbers between two numbers (entered by...
Category - C++
C++ Program to Compare Two Strings Without Case Sensitive
You can use this code for to compare strings without case sensitive and not using strcmpi(). I...
C++ Program to Compare Two Strings Without Using strcmp
In this example, you’ll learn How to compare two strings in C++ using if condition. ...
C++ Program to Compare Two Numbers
In this example, we’ll learn how to compare two numbers using if else if statements. We...
C++ Program to Calculate Area and Perimeter of Circle
The circle’s circumference — the measure of the total length around the shape —...
C++ Program to Calculate Area and Perimeter of Square
To find the perimeter of a square, just add up all the lengths of the sides. The area of a square:...
C++ Program to Calculate Area and Perimeter of Rectangle
To find the area of a rectangle or a square you need to multiply the length and the width of...