Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void produs(int n, int &k)
- {
- int p=1, m=1;
- while (p*m<=n)
- {
- p=p*m;
- m+=2;
- }
- k=m-2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement