0

For loop

How to create a program that will display all odd number from 1 to 20

5th Nov 2020, 2:24 AM
Unknown
2 Answers
5th Nov 2020, 2:40 AM
0_O-[MĂ€gĂĄr_SĂĄm_ÄkĂ _NĂŒllpÞïntĂȘr_ÈxĂ«cĂ©ptïön]~~
0_O-[MĂ€gĂĄr_SĂĄm_ÄkĂ _NĂŒllpÞïntĂȘr_ÈxĂ«cĂ©ptïön]~~ - avatar
0
for (int i=1; i<20; i+=2) cout << i << endl;
5th Nov 2020, 8:42 AM
Brian
Brian - avatar