Saturday, September 24, 2016
C Language Multiplication Table by using While Loop
C Language Multiplication Table by using While Loop
Basic Needs
- Operators
- Declaration of Data type
- While Loop
- Header [<iostream>, <iomanip>
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int table=12;
int column_number;
int row_number=1;
while (row_number <=table)
{
column_number =1;
while(column_number <=table)
{
cout << row_number *column_number << " ";
column_number ++;
}
cout << " ";
row_number ++;
}
cout << endl;
cout << "This table was Designed to Multiply from 1 up to,"<< table << endl;
return 0;
}
Any Question or fail to understand Leave a Comment Below
If you like to share your own code about Creating Multiplication Table in C++, you can leave it through the comment Box Below.
Available link for download