Advertisement
ZhilinskiyG

Task 0_06

Feb 4th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "stdafx.h"
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout << "Input the number of bateries\n";
  7.     int N;
  8.     cin >> N;
  9.     cout << "Input the number of bateries for one robt\n";
  10.     int M;
  11.    cin >> M;
  12.     cout << "Input the number of of robots you can switch \n";
  13.     cout << N / M << endl;
  14.    return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement