makaylahendrix9821 makaylahendrix9821
  • 18-07-2019
  • Computers and Technology
contestada

How many times is "Alert" displayed in the following loop? for (int k =0; k<= 100; k++) cout << "Alert"; O 101 0 1 oo О 99 O 100

Respuesta :

aldair47x
aldair47x aldair47x
  • 23-07-2019

Answer:

Hi, the answer is 100

Explanation:  

In this case we have in the second parameter of the loop the condition to stop (k <= 100)  it's means the iteration start at  k=0 until k is less or equal to 100, in those iterations you get in the output (AlertAlertAlertAlert...)

I hope it's help you.

Answer Link

Otras preguntas

In paragraph 15, the word donned means F mended G thought about H put on J imagined
find the value of x plssss help me
Write an expression for the perimeter of the square. SIMPLIFY your answer​
Why was the presidential election of 2000 controversial
Define the term metal ore
Please help. Ty!<333
PLZZZ HELP ASAP Which of the following statements about DNA is correct? A. Some kinds of organisms do not have DNA. B. Alleles are two versions of a gene. C
Grammer GUM Quiz I need help. It should be easy for you guys
Australian Tiger beetles can travel 2.5 m/s. How long would it take a tiger beetle to run the length of a standard football field (109.7 m)?
Galaxies that are moving away from earth are?