Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <iostream>
  2. #include <Windows.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. setlocale(LC_ALL, "Russian");
  8. float V, S, H;
  9. cout << "Введите объём цилиндра" << "\n";
  10. cin >> V;
  11. cout << "\n" << "Введите площадь основания цилиндра" << "\n";
  12. cin >> S;
  13. H = V / S;
  14. cout << "\n" << "Высота цилиндра равна " << H;
  15. cout << "\n";
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement