+ 2

# What mean (i=0; i<10; i++)?

what mean i?

14th Sep 2018, 2:46 PM
Deaf Guy Bad English
13 Answers
+ 17
It means your loop start from 0 Goes till it is still less than 10 i.e upto 9. And increases by a step of 1. That is it will go from 0 to 9 i.e the loop runs 10 times.
14th Sep 2018, 5:42 PM
Mitali
+ 6
a) the first 👍part is the initial value of your loop, the is where you begin so when we say i=0 that mean the first value for your *i* variable is 0 b) the second✌ value is the condtion of the loop, that condtion will be compared every loop c) the third👌 value is the rate of change in *i* value this rate of change can be Increase or decrease or any equation as what your code need . that is all 👍 i wish that i help you and you understand me all the best😊
14th Sep 2018, 8:49 PM
Sara Mohammed Abdalgader
+ 4
It means the loop will be executed if i is 0, 1, 2,... 9
13th Oct 2018, 9:02 AM
Mngoh Promise Mngoh
+ 2
(i=0; i<10; i++) 1) use it in a for loop to make something for a certain number of times. In this example, the sintax of your for loop is: for(i=0; i<10; i++){ /* operations to execute */ } 2) in the example: - the loop start from the value 0 (assigned to the variable “i”). - the loop performs the operations defined in the loop; - after executing this operations, increments of 1 the value of the variable “i” - before executing operations, check the condition of the loop: in this example, if the value of the variable “i” is < 10 then your program will execut another time the operations and increment again “i”; if “i” is not < 10 the loop ends. yor loop, in this example, run 10 times.
24th Sep 2018, 10:16 PM
Bih
+ 1
A for loop that runs 9 times
14th Sep 2018, 3:20 PM
Adigun Olamide
+ 1
This for loop will run from 0 to 9 that means 10 times.
14th Sep 2018, 6:06 PM
Praveen Soni
+ 1
for loop run 9 times i=0 (initial value) i<10 (stop condition) i++ (action "increment one in each loop from 0 to 9 " )
17th Sep 2018, 7:35 AM
Mariam Emad El-Deen
+ 1
0 to 9
26th Sep 2018, 7:32 PM
Endalkachew Muluken
+ 1
I need an help around this program (Employing bloom filter in data leak protection applicationstome)
16th Nov 2018, 1:22 PM
Mustafa
0
Actually 10 times, since it starts at 0
14th Sep 2018, 3:59 PM
Matthias
0
it means your code (which is inside this for loop) excute until value of i is less than 10( it means upto 9). In every iterration of loop value of i is increase by 1. possible values of i is 0,1...9
17th Sep 2018, 9:34 AM
Vijay Meena
0
she mean (if i=0 > if i++ > for i<10)
12th Oct 2018, 11:28 PM
Кандыбей Александр Сергеевич
0
Hi
12th Feb 2022, 10:44 AM
mass siva