Advertisement
svetlin23

Untitled

Jan 15th, 2020
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <iostream>;
  2. #include <cmath>;
  3. using namespace std;
  4. int main()
  5. {
  6. int tables;
  7. cin >> tables;
  8.  
  9. double tableLength, tableWidth;
  10. cin >> tableLength >> tableWidth;
  11.  
  12. double tableArea = (tableLength + 0.6) * (tableWidth + 0.6);
  13.  
  14. cout << tableArea;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement