Syntax and Loop are two completely different concepts.
loop within in a loop is called for next loop
The syntax for writing a loop in pseudo code typically involves using keywords like "for", "while", or "do-while" to indicate the type of loop, followed by the loop condition and the code block to be executed within the loop.
for(i=0;i<=0;i++)
i dont know but i
Break statements:-its terminates the current while or for loop and continue the program execution from the statement following the terminated.NOTE:-note that it is wmlscript syntax error to use the break statement outside of while or a for statements.example;Breakstatement:Break;Continue statement:-this statement terminate execution of a block of statementin while or for loop and continues execution of loop with the next iteration.note that the continue statement does not terminate the execution of loop and also is wmlscript syntax error to use the break statement outside of while or a for statements.-> in while loop, it jumps back to the condition.-> in for loop,it jumpsto the update expression.syntax:continuestatement:continue;
That a loop is curved and a whorl is shaped like a wave.
Logic is same, but syntax is different.
They use different syntax.
the counter variable cannot be initialized in while loop before entering into the block.
Syntax refers to the arrangement of words in a sentence to create meaning, while grammar encompasses the rules and structure of a language, including syntax, morphology, and semantics.
A Loop pedals recorded sound does not fade (decay).
do { //statements }while(condition); The statements inside the block get executed at-least once, no matter what condition you have placed. Only from the 2nd time the condition is checked, simply because the condition is at the last. for(initialization; condition; updation) { //statements } Here the statements don't get executed even once if the condition fails initially. The condition is at the entry itself.