Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- cout << "Input the number of the servomotors\n";
- int N;
- cin >> N;
- cout << "Input the number of the servomotors for one robot\n";
- int K;
- cin >> K;
- cout << "Input the number of the robots you that can make\n";
- cout << N / K << endl;
- cout << "Input the number of detals will remain\n";
- cout << N%K << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement