weegy
Answer
Search
More
Help
Account
Feed
Signup
Log In
Question and answer
the number that tells a c++ program to end a loop is called
Log in for more information.
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.
f
Get an answer
Search for an answer or ask Weegy.
the number that tells a c++ program to end a loop is called
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) ]
Log in for more information.
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
Bench_14
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.
Log in for more information.
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,229,757
questions answered
S
hare your beac
h.
W I N D O W P A N E
FROM THE CREATORS OF
weegy
WINDOWPANE is the live-streaming app for sharing your life as it happens, without filters, editing, or anything fake.
Because you're already amazing.
Connect with others, with spontaneous photos and videos, and random live-streaming. Post thoughts, events, experiences, and milestones, as you travel along the path that is uniquely yours.
Share your world.
Popular Conversations
GET
Answers.
GET THE APP.
weegy*
*
Get answers from Weegy and a team of
really smart
live experts.
Top Ranked Experts *
Order
Points
Ratings
Comments
Invitations
Jane12
S
L
Points
75
[Total
136
]
Ratings
0
Comments
75
Invitations
0
Offline
whumii
S
Points
10
[Total
10
]
Ratings
1
Comments
0
Invitations
0
Offline
optfin
S
Points
1
[Total
1
]
Ratings
0
Comments
1
Invitations
0
Offline
Ezeana
S
Points
1
[Total
1
]
Ratings
0
Comments
1
Invitations
0
Offline
Find»
* Excludes moderators and previous
winners
(
Include
)
Home
|
Contact
|
Blog
|
About
|
Terms
|
Privacy
| ©
Purple Inc.