1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
galina1969 [7]
3 years ago
6

How to Create a while loop

Computers and Technology
2 answers:
Marta_Voda [28]3 years ago
6 0
While (condition) ( < > =< => = !+) 
{
    code block
<span>}

some think like this 

</span>
kap26 [50]3 years ago
4 0
For C/C++ , C# for while loop has the same layout. 

while ( /*condition*/ )
{
// TO DO
}
for e.g:

int main()
 {

int sum = 0, i = 0;

//While loop
while (i <= 100)
             sum += i++;

printf("Sum %d", sum);

getchar();

return 0;

}
This code will sum from 0 to 100 ( Sigma from x = 0 to 100 of x)


You might be interested in
Which example best demonstrates an impact of computers on the economy?
Lana71 [14]

Answer:

a

Explanation:

7 0
2 years ago
With ____ editing, Word automatically displays a Paste Options button near the pasted or moved text.
harina [27]
The answer is drag and drop. 
 With drag and drop editing, word automatically displays a paste option button near the pasted or moved text. 
8 0
3 years ago
Why is it important for element IDs to have meaningful names?
wlad13 [49]

Answer:

so a program can reference it; however, it does not necessarily need an event handler

Explanation:

8 0
2 years ago
NO SPAMMERS, ONLY FULL ANSWER
melisa1 [442]

Answer:

true

Explanation:

4 0
2 years ago
Read 2 more answers
Write the syntax of FOR......NEXT loop​
anygoal [31]

Answer:

Syntax:

For variable_name As [Data Type] = start To end [ Step step ]

For variable_name As [Data Type] = start To end [ Step step ]

[ inner loop statements ]

Next.

[ Outer loop statements ]

Next.

Explanation:

4 0
3 years ago
Other questions:
  • Create a class named BaseballGame that contains data fields for two team names and scores for each team in each of nine innings.
    12·1 answer
  • What does “int” means in php code
    13·1 answer
  • Which zone of the ocean is deepest ?
    7·2 answers
  • Differentiate among web apps, mobile apps, and mobile web apps.
    14·2 answers
  • Explain what occurs when you synchronize computer and mobile devices.
    5·1 answer
  • im in honors comupter science and one of my questions is evaluate 18% 7 does anyone know how to answer that
    6·1 answer
  • Does anyone know any nitro type hack??
    13·2 answers
  • Creating a call conversion in Google Ads and adding a phone snippet to a web page allows advertisers to use a Google forwarding
    11·1 answer
  • Read the citation example, and then use the drop-down menus to identify each part.
    8·2 answers
  • explain why you can determine machine epsilon on a computer using IEEE double precision and the IEEE Rounding to Nearest Rule by
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!