Beruflich Dokumente
Kultur Dokumente
Program Loop Control Statement: Test the condition & directs the execution
consists of Body of the loop: Contents to execute
Syntax
do
{
Body of the loop
}
while (test-condition);
? Program to find the sum of numbers from 40 to 50 With do… while loop
Syntax
FOR Statement for (initialization ; test-condition ; increment)