Advertisement
elvecent

Lab1

Oct 23rd, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. //Задание 1
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.   int x = 0, y = 0; // определим две переменные типа int
  7.   cout << "x = ";
  8.   cin >> x;
  9.   cout << "y = ";
  10.   cin >> y;
  11.   cout << "x*y = " << x * y << endl;
  12.   return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement