Friday 22 January 2016

// // Leave a Comment

C++TABLE WITH RANGE

C++ Program that Determines the Multiplication Table with Range






#include<iostream>
using namespace std;
int main()
{
int table,range;
cout << "Plaese Enter the Number : \n";
cin >> table;
cout << "Please Enter the Range of the Table : \n";
cin >> range;
for (int x = 1; x <= range; x++)
{

cout << table << "x" << x << "=" << table*x << endl;
}
system("pause");
}




0 comments:

Post a Comment