+ 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... ...

18th May 2018, 7:50 PM
Stanislas Monkam
Stanislas Monkam - avatar
4 Answers
+ 3
https://code.sololearn.com/cFJxHtc7Kz4L/?ref=app you can also print in this way i preferred this way
18th May 2018, 8:48 PM
Arun Tomar
Arun Tomar - avatar
18th May 2018, 8:37 PM
Arun Tomar
Arun Tomar - avatar
0
Tanks
18th May 2018, 11:30 PM
Stanislas Monkam
Stanislas Monkam - avatar
0
so I think that it is impossible to use the "while" loop! â˜șâ˜ș
27th Jul 2018, 7:12 AM
Stanislas Monkam
Stanislas Monkam - avatar