Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- void kw(int n)
- {
- n=pow(n,3);
- if(n>42) return void();
- while (n>=42)
- {
- cout << pow(n,2) << endl;
- n-=5;
- }
- }
- int main(void)
- {
- kw(100);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement