Write a program that asks the user to enter 10 integers stored in an array. The program must...
Tag - Simple C++ Programs with Output
C++ Program to Print Multiplication Table
In this example, I’ll show you How to Generate Multiplication Table. C++ program to print...
How to Make Simple Calculator in C++
In this example, I’ll show you How to make a simple calculator in C++. To make a simple...
Examples of Complex Number Type in C++
<complex> header file is used for declaring a complex number in C++. We can declare the...
Multiplication of Two Numbers Using C++
C++ Code: int main() { float num1,num2,product; cout<<"Number 1: "; cin>>num1;...
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 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 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...
