0

using nested loop display: A A B A B C A B C D

6th Sep 2016, 9:40 AM
Saptarshi Saha
Saptarshi Saha - avatar
3 Antworten
0
int i; char c; for (i = 0; i <= 3; i++) { for (c = 'A'; c <= 'A'+i; c++) { cout << c << " "; } cout << endl; }
6th Sep 2016, 9:57 AM
Zen
Zen - avatar
0
hi zen.. top 5 at javascript sololearn :3
6th Sep 2016, 12:51 PM
Kelvin cipta fathurrachman putra
Kelvin cipta fathurrachman putra - avatar
0
thanks a lot buddy
7th Sep 2016, 6:19 PM
Saptarshi Saha
Saptarshi Saha - avatar