answersLogoWhite

0

What is the abrreviation of while?

Updated: 12/17/2022
User Avatar

Wiki User

7y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is the abrreviation of 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

The abrreviation for arsenic?

As


What is the abrreviation for milliliter?

ml


What is the abrreviation for decimeter?

dm


What is the abrreviation of Delaware?

DE


What is the abrreviation for Florida?

Fla


What is the abrreviation for Montreal?

MTL.


How do write an abrreviation for kilo?

It is Kg.


What is four letter abrreviation for Alberta?

Alta.


What is the abrreviation for Alberta?

The abbreviation for Alberta is AB.


What is the abrreviation of Colorado?

The postal abbreviation is CO


What is the abrreviation for Circle when used in an address?

technolgy


What is the abrreviation for meitnerium?

The chemical symbol of meitnerium is Mt.