0

Hi.. What is the meaning of this coding? Int(count =1; count<x; count++)

Iam a student https://www.sololearn.com/discuss/2112825/?ref=app

28th Dec 2019, 5:06 PM
Rakshika Radhakrishnan
3 Respostas
+ 2
Kindly read about "for loops".
28th Dec 2019, 5:21 PM
Avinesh
Avinesh - avatar
0
(int count = 1; count < x; count++) count starts at 1. Each time the loop is executed, count is increased by 1. The loop will end when count becomes greater then or equal to whatever x is.
28th Dec 2019, 5:19 PM
Manoah
Manoah - avatar