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

In a certain function, an output is 4 more than half its input. Complete the input/output table for the function.
An apple drops from a tree and hits the ground in 1.4s how far does it fall?
When citing, you must provide _______ to tell your readers exactly what information you borrowed from your sources. A. a bibliography page B. your
How to get best grades in ielts exam?
(03.02 HC) Stan, Liam, and Louise are competing in a cooking competition. They all used different amounts of flour from a can containing 5 pounds of flour.
What is the answer to this problem
In a circuit, a 10 Ω resistor is connected in series to a parallel group containing a 60 Ω resistor and a 5 Ω resistor. What's the total resistance in this circ
which of these saturated solutions has the lowest concentration of dissolved ions?A)NaCl [aq]B)MgCl2 [aq]C)NiCl2 [aq]D)AgCl2 [aq]
how to solve integral of sec x ?
PLEASE HELP! I DONT KNOW THE ANSWER! AHHH I WILLL MARK BRILLIANCE IF ITS RIGHT! April adds the expressions 9x + 7 and 5x – 3. Evan adds the expressions 14x + 2