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 ответов
+ 2
int num=1;
while(num < 11) {
cout << "3x" << num << ":" << num*3 << endl;
num++;
}