+ 1
about loop
how to make the result of loop like this 1 1 1 2 2 3 2 4 3 5 3 6 thanks for your helpāŗ
1 Answer
+ 2
#include<iostream>
using namespace std;
int main (){
int a = 1,b=1;
while (b<=6){
cout<<"\n"<<a<<b;
++b;
cout<<"\n"<<a<<b;
++a;
++b;
}
return 0;
}
** do give a like if you read my answer
#SiD



