I want this code output in this form 2 * 1 , 2* 2 and How can I do this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I want this code output in this form 2 * 1 , 2* 2 and How can I do this?

https://code.sololearn.com/cwwguRk7h09r/?ref=app

12th May 2019, 1:10 PM
Anuj Raghu
Anuj Raghu - avatar
4 Answers
+ 2
In the first loop, there is a condition which never gets false.
12th May 2019, 4:07 PM
Seb TheS
Seb TheS - avatar
+ 1
int i = 5; for (int j = 1; j <= 10; j++) {cout << i*j;}
23rd May 2019, 1:38 PM
Seb TheS
Seb TheS - avatar
0
The complete code is wrong with respect to your desired output.
12th May 2019, 1:50 PM
Aayush Agarwal
0
The code is wrong with respect to our desired output
23rd May 2019, 12:32 PM
Shweta Pawase