chevengur

Подготовительный курс | Урок 8: Ошибки компиляции 2/3

Aug 6th, 2023 (edited)
181
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. int main() {
  4.     int width, height;
  5.     std::cout << "Enter rectangle width and height" << std::endl;
  6.     std::cin >> width >> height;
  7.     std::cout << "Rectangle area is " << width * height << std::endl;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment