Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int multiplu(int n) {
- int r = n;
- while (sqrt(r) != (int)sqrt(r)) {
- r += n;
- }
- return r;
- }
- int main() {
- cout << multiplu(72) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement