answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is the synomns for while?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Compare Do-While with While Statements?

A Do-While loop looks like this: do { loop body } while (condition); and a While loop looks like this: while (condition) { loop body } The main difference is that the loop body is always run once in the Do-While loop, then the condition is checked to see if the loop should keep running. In a While loop, the condition is checked first, and it will not run the loop body at all if the condition is false.


Differences between if else and while loop?

Easy: if-else is not a loop; while, for and do-while are loops.if-else just run once, but do-while run many times.


What statement marks the end of a do while loop?

It's the semicolon after the while ()part:i= 0;do printf ("%d %s\n", i, argv[i]); while (++i


How you can use while loop in place of select case?

While is NOT a replacement for SWITCH -- CASE However , still if this is the requirement then , you can do this : While (1) { if (case1 ) {} if (case2 ) {} : : : if (case n ) {} if (case default ) {} } //end of while loop


What are the types of loops?

There are three forms of loop commonly used in C/C++, the for loop, the while loop and the do-while loop. The for loop is most commonly used whenever an action is going to be performed a set amount of times. For example, to sum every element in an array: for(i = 0; i < arraySize; i++) { sum = sum + array[i]; } The while loop and do-while loop are commonly used to loop until a condition is met. The difference between the two is that the do-while loop goes through one iteration before checking its condition, while the while loop checks its condition before any execution of the loop. Example do-while loop: do { randomNumber = rand() % 10; }while(randomNumber != 6); Example while loop: cout > number; while(number < 0) { cout > number; }

Related questions

Another word for young and inexperienced?

Type this in on MS Word Right Click Select Synomns.


What does it mean if you're pale?

pallid, ashen, pastysoft (as in hue)Some adjectives synomns for "pale" are:anemicashenashyblanchedbleachedcadaverouscolorlessdeathlikedullfadedfeebleghastlygrayhaggardinsubstantialluridpallidpastysicksicklyunsubstantialwashed-outwaxenwaxlikeweakwhitishSome verb synonym for "pale" are:blanchdecreasedimdiminishdullfadefaintgo whitegrow dulllessenlose colourlose lustertarnishweakenwhiten


What is the word Temporary means?

lasting only a while. lasting only a while. Lasting only a while Lasting only a while Lasting only a while


How long have hybrids been around?

a while.. a while.. a while..


What is the homophone of while?

wile is the homophone of while


How do i do a while loop inside my current loop?

while(predicate1) { while(predicate2) { ... } }


Is it once and a while or once in a while?

Once in a while! I'm nine and I know that!


Can you give five sentences using while?

He was missing for a while during the walk. While I like chicken, I prefer beef. Many computer languages use while loops. It happened while I was there. Give me a while and I will have it finished.


What to do while tripping?

What to do while tripping


What is the difference between 'for a short while' and 'for a while' and when it should be used time to time?

'for a short while' is of lesser duration than 'for a while'.


Do we say while stock lasts or while stocks last?

WHILE STOCKS LAST.


What does while texting mean?

While means, generally, 'as' or 'during' or as an implied meaning, 'when'.So don't drive while texting means don't drive as you (also) are texting.Other examples of doing something 'while' include:Don't fall out of bed while sleeping.Don't yell while in church.Don't talk while chewing food.Don't interrupt while I'm watching the Olympics.Get me a drink of water while you're in the kitchen.