Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1))))#include<iostream>
- #include<cmath>
- using namespace std;
- int main()
- {
- int i = 60;
- do cout << i<<"\n";
- while ((i-=2) >= 10);
- cout << endl;
- system("pause");
- return 0;
- }
- 2))))#include<iostream>
- #include<cmath>
- using namespace std;
- int main()
- {
- int i = 60;
- while (i >= 10)
- { cout << i << "\n" << endl; i-=2;
- }
- system("pause");
- return 0;
- }
- 3))))#include<iostream>
- #include<cmath>
- using namespace std;
- int main()
- {
- for (int i=60; i>=10; i-=2)
- cout << i <<"\n";
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement