+ 3
please help me
#include<iostream> using namespace std; int main() { int a; int b; cout<<"multiplication table of 8 \n"; while(a<13) { cout<<"2x"<<a<<"="<<b<<endl; b=8*a; } return 0; } \*i need this kind of output 0x8=0 1x8=8 2x8=16 3x8=24 4x8=... 5x... 6... ...
4 Answers
+ 3
https://code.sololearn.com/cFJxHtc7Kz4L/?ref=app
you can also print in this way
i preferred this way
0
Tanks
0
so I think that it is impossible to use the "while" loop! âșâș