0
In while loop can the printed result increases
int num=3 while (num <31){cout <<"3Ă1:"<<num <<endl; num=+3} /* 3Ă1:3 3Ă1:6 ........*/ can the result out in the form of /* 3Ă1:3 3Ă2:6 3Ă3:9......*/
2 Answers
+ 2
int num=1;
while(num < 11) {
cout << "3x" << num << ":" << num*3 << endl;
num++;
}