binzuka binzuka
  • 14-07-2021
  • Computers and Technology
contestada

Write a program that allows the user to continuously input the value n until a negative number is entered

Respuesta :

rajavamsi566
rajavamsi566 rajavamsi566
  • 14-07-2021

Answer:

Written in C++

Explanation:

#include <iostream>

using namespace std;

int main()

{

int n;

while(true)

{

cin>>n;

if(n>=0)

continue;

break;

}

return 0;

}

Answer Link

Otras preguntas

(x + 40) / 2*3 when x = 8answer: 6
PLS HELP ASAP! 20 PTS evaluate
What can you learn about by studying DNA?
Oxide is a combination of oxygen and another element. So is Water an oxide?
Active: She did not tell me. Passive:
Who can contact me to help me with the American literature 1800 exam on Monday?
What is the chemical formula for carbon tetrafluoride? The Periodic Table 1 mono- 2 di- 3 4 tetra- 5 penta- hexa- 6 7 hepta- 8 Oct- 9 nano- 10 deca-
|a-7| - |a-9| if a<7
please help! i can’t write the equation on here so look at the picture.
Write the valence shell electronic configuration of an element present in the 3rd period and Group IIIA,