1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Iteru [2.4K]
3 years ago
8

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

Computers and Technology
1 answer:
soldi70 [24.7K]3 years ago
3 0

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 ";

};

};

You might be interested in
COMPUTER SCIENCE HELP!!!!!
maw [93]
1.( I need to know what program this is for to answer this one)
2.Explain a game you played for this one and include a interactive element it had like a Side-quest/Npc/Cool Background ect.
3.For 3D games you have to worry about smoothing and lighting, as for 2D you have to worry about keeping the objects within the players POV as they are usually locked to character and stuck facing one direction.
4.???(need progam name)
5.If the game is based in a snow biome you would use snow landscape textures.
8 0
4 years ago
Why does virtual reality rely on slightly different views for each eye?
GaryK [48]

Answer:

So, you can have a whole view, if you cover your right eye, you can't really see anything to your right just towards your left.

Explanation:

4 0
2 years ago
The specific gravity of gold is 19.3. Write a MATLAB program that will ask the user to input the mass of a cube of solid gold in
s344n2d4d5 [400]

Answer:

Check the explanation

Explanation:

<em>Cube.m:</em>

mass = input("Enter the mass of cube [kilograms]: ");

if(mass<=0)

disp("Error: Mass must be greater than zero grams")

else

fprintf("The length of one side of cube is %.2f inches",2.7*mass);

end

<em>Output1</em>

octave:2> source ( Cube.m Enter the mass of cube [kilograms]: octave:2>-3 Error: Mass must be greater than zero grams

<em />

7 0
4 years ago
What are the limitations of the ASCII character set? State why it is limited in this way?
dedylja [7]
The problem with ASCII or extended ASCII is that the ASCII system can only represent up to 128 (or 256 for EASCII) different characters. The limitation on the number of character sets means representing character sets for several different language structures is not possible.
7 0
3 years ago
If you need to multiply 50 and 8 and divide by 2, what would you type on the numeric keypad
Alborosie

Answer: 50 x 8 then it would be your product lets say, p, it would be p/2

Explanation:

7 0
4 years ago
Other questions:
  • Two of the child elements of the page body are a navigation list with the ID #hole_list and an article element containing inform
    7·1 answer
  • Can you please help me by sending a proposal onnanotechnology in networking applications
    8·1 answer
  • A device used to measure the pressure of an enclosed gas is a manometer.<br> a. True<br> b. False
    9·1 answer
  • In what country was the English royal family and nobility living before the Restoration?
    6·1 answer
  • Create a list with 5 numbers and find the smallest and largest number in the list and also the sum and product of the numbers in
    9·1 answer
  • What social media profession entails determining how and in what way an organization will create and maintain a social media pre
    7·1 answer
  • The meaning of docile can be determined by the... context clue. synonym atonym or explanation
    14·2 answers
  • Re:
    15·1 answer
  • Match the roles to the task they perform.
    5·1 answer
  • It is most commonly used for self-running presentations.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!