+ 1
What the uses of loop of our application
any on Tell me what the uses of loop in our application
6 Respuestas
+ 2
we use loop when need to do something repeatedly.
e.g. if you want to say "hi" ten times.
for(int i = 0; i < 10; i++){
System.out.println("hi");
}
+ 1
If you want to make a client application that repeadetly checks for updates on a server. You could use a loop.
0
can you show repeating application
0
why ' hi' ten time
0
one value or any one repeatedly printing you are using loops
0
If you want to print table of any number just like "2" then
2 * 1 = 2
in this statment "table number", * and = sign repeat 10 times so we can use this statment in loop like this
Int table = 2;
Int table_limit = 10;
For( int i=1; i<=table_limit ; i++)
And then print the table statement like
2 * i = 2*i