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

You open a small business with an intial investment of $90,000. The weekly running costs for the business are $7800. the weekly revenue (income) from your busin
how did the poem freedom by langston hughes make you feel?
Here is a mindful calming reflection: Despite staying indoors during the pandemic, what outdoor activities can you still do indoors?
What does x2-5x+6=0 equal?
Which system of equations is graphed below? A. Sy=-x-2 (y=x+4 B. fy = -x + 4 y=x-2 { 0 C. y = 4x - 1 W = -2x + 1 fy = 2x - 1 D. = 4x + 1
If (3-4i) (x+yi) = 1 + 0i. The value of x and y is(a). (3/25,4/25)(b). (1/6,0)(c). (1,1)(d). (0.5)​
He was giving a lecture
Evaluate (-28) + 38 + (-12). EXPLAIN YOUR ANSWER, I KNOW IT’S -2, BUT WHY? How do I get -2? I am asking you to explain how you solved, not tell me the sum. Than
Write the equation of the line in slope-intercept form. It has a slope of 2/3 and passes through the point (3, 4).
What best describes the substances represented by these two diagrams?