// this program read two numbers from the keyboard and print thier product.
#include <iostream>
#include<cmath>
#include <limits>
using namespace std;
int main()
{
int num1; // variable
int num2;
cout << "enter your 1st number ";
cin >> num1; // input
cout << "enter your 2nd number ";
cin >> num2; // input
cout << "The mulitiple of two numbers = " << num1*num2;// product of two numbers.
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.get();
return 0;
}
Thursday, 24 January 2013
program 1-3(9) the multiplication program
08:01
ATEEK
No comments
0 comments:
Post a Comment