2131246 2131246
  • 24-07-2021
  • Computers and Technology
contestada

write a program that keeps taking integers until the user enters in python

Respuesta :

Аноним Аноним
  • 24-07-2021

int main {

//variables

unsigned long num = 0;

std::string phrase = " Please enter your name for confirmation: " ;

std::string name;

//codes

std::cout << phrase;

std::cin>> name;

while ( serial.available() == 0 ) {

num++;

};

if ( serial.avaliable() > 0 ) {

std::cout << " Thank you for your confirmation ";

};

};

Answer Link

Otras preguntas

State whether the statement is ‘True or False’.a. Comintern is formed in the year 1920.b. The period of the early Planned Economy was linked to the upraising of
15^2-13=x-3 solve for x and round to nearest 10th if necessary
Which of the following best describes hunter-gatherers They lived in fixed locations with large family groups The moved with the groups of animals they relied o
What is the currency of several European countries, including Germany?
Read the excerpt from a personal essay titled "First Day." What is the main idea of the essay? The first day at any new school is frightening, and the first day
Find the least common multiple (LCM) of 12 and 16
If a cell is in an environment that has a greater concentration of salt than the cytoplasm inside the cell, the cell will most likely:
Help me on the math problem
Is reformed energy nonrenewable or renewable
HELP SOLVE FOR A HELP MATH