Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main (){
- for (int i=25; i<=35; i+=1){
- cout<<i<<' '<<i+0.5<<' '<<i-0.2<<endl;}
- return 0;
- }
- #include <iostream>
- #include <math.h>
- using namespace std;
- int main (){
- int i=25;
- while ( i<=35){
- cout<<i<<' '<<i+0.5<<' '<<i-0.2<<endl;
- i=i+1;}
- i = 25;
- do {
- cout<<i<<' '<<i+0.5<<' '<<i-0.2<<endl;
- i=i+1;
- }
- while (i <= 35);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement