Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int a,b,x;
- cout <<"Vvedite A ";
- cin >> a;
- cout <<"Vvedite B ";
- cin >> b;
- x=a;
- if (a>b) cout<<"A>B";
- else
- do {
- cout<<x*x*x<<endl;
- x++;
- }
- while (x<=b);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement