Question and answer
the number that tells a c++ program to end a loop is called
Question
Asked 11/19/2008 3:53:35 PM
Updated 1/24/2024 5:46:30 AM
1 Answer/Comment
This conversation has been flagged as incorrect.
Get an answer
Original conversation
User: the number that tells a c++ program to end a loop is called

Weegy: End for loop cout << "..."; cin.sync(); cin.get(); cout << endl << endl << endl; cout << "Thanks for using the Fibonacci Generator!"; cin.get(); return 0; 0 will end the loop

User: what is the name of the number value that will end a loop in c++

Weegy: The while loop is well above where you're setting the value to 0 again (expecting to go back up to the loop). It won't do it at that point, it will continue processing till the end of the file. [ Suggestion : possibly move the while loop into its own function, and therefor you can call it all you want, from wherever you want, but as it is now, it will only run through the while loop as it comes down onto the while loop, after its out, it will continue to process downward until the code moves the processing elsewhere (such as a function) ]

Question
Asked 11/19/2008 3:53:35 PM
Updated 1/24/2024 5:46:30 AM
1 Answer/Comment
This conversation has been flagged as incorrect.
New answers
Rating
3
In C++, the number that tells a program to end a loop is typically referred to as the loop's "termination condition" or "exit condition" or break condition.

Added 1/24/2024 5:44:21 AM
This answer has been confirmed as correct and helpful.
Comments

There are no comments.

Add an answer or comment
Log in or sign up first.
40,401,055
questions answered
Popular Conversations
The route of administration is the path by which a drug enters ...
Weegy: The circulatory system also called the cardiovascular system, is an organ system that permits blood to circulate ...
7/13/2026 8:37:51 PM| 3 Answers
Converting 4.9 kilograms to the US customary system would equal 11
Weegy: Converting 4.9 kilograms to the US customary system would equal 11 pounds. User: How many centimeters are in ...
7/14/2026 12:53:28 AM| 2 Answers
Resistance training can effectively improve Question 18 options: A) ...
Weegy: Resistance training can effectively improve: cardiovascular health.
7/10/2026 11:22:35 PM| 1 Answers
A thermos bottle _____. reduces energy loss due to radiation reduces ...
Weegy: A thermos bottle reduces energy loss due to convection.
7/11/2026 8:26:01 PM| 1 Answers
Which one of the following sentences is an example of a metaphor? A. ...
Weegy: A metaphor is a literary figure of speech that describes a subject by asserting that it is, on some point of ...
7/11/2026 8:32:37 PM| 1 Answers
The barcoding process begins with the
Weegy: The barcoding process begins with the company getting a GS1 Company Prefix. User: The barcoding process ...
7/13/2026 7:58:31 PM| 1 Answers
_______ is considered the father of American pharmacy.
Weegy: William Procter Jr. is considered the father of American pharmacy. User: Ilsa is a good manager because she ...
7/13/2026 8:02:41 PM| 1 Answers
S
Points 4 [Total 4] Ratings 0 Comments 4 Invitations 0 Offline
S
L
P
1
1
1
Points 3 [Total 1235] Ratings 0 Comments 3 Invitations 0 Offline
S
Points 1 [Total 1] Ratings 0 Comments 1 Invitations 0 Offline
* Excludes moderators and previous
winners (Include)
Home | Contact | Blog | About | Terms | Privacy | © Purple Inc.