Advertisement
Guest User

III for

a guest
Oct 24th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     int a,b,x;
  6.     cout <<"Vvedite A";
  7.     cin >> a;
  8.     cout <<"Vvedite B";
  9.     cin >> b;
  10.     if (a<=b); else cout <<"A>B";
  11.     for (x=a; x<=b; x++)
  12.     {
  13.         cout<<x*x*x<<endl;
  14.     }
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement