answersLogoWhite

0

No such thing as if-loop. if-else statement is not a loop.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

When was On Telecoms created?

On Telecoms was created in 2006.


What is mean by telecoms consumer?

It means that you are a telecommunication (telecoms) customer.


For loop -uses?

You can use a for loop whenever you can use a while loop; it's the same.


Why plus 48V not use in telecoms?

To avoid the corrosion of the copper conductors under the ground.


Why would one want to use business telecoms?

Business telecoms basically give you the ability to use everything in one place. You can schedule meetings easier, keep a track on tasks and share business information much more easily.


When was Helpline Telecoms Nigeria Limited created?

Helpline Telecoms Nigeria Limited was created in 2003.


How can I use the ffmpeg loop feature to create a continuous video loop?

To create a continuous video loop using the ffmpeg loop feature, you can use the "loop" option in the ffmpeg command followed by the number of times you want the video to loop. For example, you can use the command "ffmpeg -streamloop -1 -i input.mp4 output.mp4" to loop the video indefinitely.


Is it possible to use a for loop in place of a while loop?

Yes. while loop consist of only condition statement to make for loop look as while loop we can use syntax shown below: for(;condition;) eg: for(;i<=n;)


How can you use the "break" statement in Java to prematurely exit a "for" loop?

In Java, you can use the "break" statement within a "for" loop to exit the loop prematurely. When the "break" statement is encountered, the loop will immediately stop executing and the program will continue with the code after the loop.


Why you use for loop inside switch statement?

Because you have to repeat something. (Or you can use while-loop, too.)


Why you need a for loop when you have already while loop or do while loop?

We need a for loop because the while and do-while loops do not make use of a control variable. Although you can implement a counter inside a while or do-while loop, the use of a control variable is not as self-evident as it is in a for loop. Aside from the use of a control variable, a for loop is largely the same as a while loop. However, it is quite different to a do-while loop, which always executes at least one iteration of the loop before evaluating the conditional expression. In a for and while loop, the conditional expression is always evaluated before entering the loop, which may result in the loop not executing at all.


Is there any rule that if I use an If in a loop then i cant use that if in another loop?

If your question makes sense at all, and it is about programming, then the answer is no.