Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>;
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. setlocale(LC_ALL, "Russian");
  9. int S, s, V, v, T, L;
  10. cout « "Введите S, V, v, T" « endl;
  11. cin » S » V » v » T » L;
  12. s = T * (v + V);
  13. L = S - s;
  14. cout « "L = " « L « endl;
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement