spookymod3351 spookymod3351
  • 03-10-2019
  • Computers and Technology
contestada

Which is not a C repetition statement?

a) while

b) do…while

c) for

d) do…for

Respuesta :

tanoli
tanoli tanoli
  • 08-10-2019

Answer:

d) do..for

Explanation:

In C there are 3 types of loops.

1) For Loop

for(int i=0; i<10; i++){

   cout<<i;

}

2) While Loop

int i=0;

while(i<10){

   cout << i;

   i++;

}

3) Do While Loop

int i=0;

do {

   cout<< i;

  i++;

} while(i<10);

Answer Link

Otras preguntas

How to find x using trig ratios
Simplification of the expression (-2x+8y)(9x-3y)
Evaluate. 8 • [5 + (18 – 7)] ÷ 4 Please help! Im stuck.
The pyramid shown has a square base that is 18 inches on each side. It has a surface area of 864 square inches. What is the slant height?
What is the x-coordinate of the point that divides EF into a 2:3 ratio? 3.8 –3.6 1.2 1.4
I am not responsible for paying taxes to the British king. Which kind of colonist most likely made this statement? A Loyalist, because most Loyalists believ
One of the key questions for analyzing purpose is: Why is the author writing about the subject? True or false?
I need help figuring out what 4y-4
1. Netta and Jim wrangled over their views of free trade.    2. Netta and Jim expressed different views on free trade.    3. Netta and Jim argued vociferousl
Which is NOT one way women contributed to the war effort? (1 point) A. They cared for the soldiers. B. They ran the government. C. They ran businesses. D. They