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 number of apples\n";
- int K;
- cin >> K;
- cout << "Input number of students\n";
- int b;
- cin >> b;
- cout << K%b << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement