// this program demonstrate the use of compound assignments.
#include <iostream>
#include <limits>
using namespace std;
int main()
{
cout << "this program demonstrate the use of compound assignments.\n enter your two numbers\n";
int x;
int y;
cin >> x;
cin >> y;
cout << "x = " << x;
cout << " : y = " << y << "\t |" << "x *= y \t | " << " = "<< (x*=y);
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.get();
return 0;
}
Thursday, 24 January 2013
program 3-2(77) Demonstrate of compound assignment
08:11
ATEEK
No comments
0 comments:
Post a Comment