Praktikum_mf

Ошибки компиляции / Задание 2

Dec 14th, 2021
858
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.    
  5. int main() {
  6.     int width, height;
  7.     cout << "Enter rectangle width and height"s << endl;
  8.     cin >> width >> height;
  9.     cout << "Rectangle area is "s << width * height << endl;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment