Advertisement
GAMELASTER

Untitled

Mar 3rd, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int rychlost;
  8.     int cas;
  9.     cout << "Rychlost [m/s]: ";
  10.     cin >> rychlost;
  11.     cout << "Cas [s]: ";
  12.     cin >> cas;
  13.     cout << "Prejdena draha: " << (rychlost * cas) << endl;
  14.     char pockanie;
  15.     cin >> pockanie;
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement