cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Negatives in while statement
Negatives in while statement
Mar 28, 2015 at 1:49am UTC
Krisn1995
(1)
Hey guys, how would I make whatever number that goes in the parenthesis that equals negative quit the program?
while
(tuition != -)
Thanks!
Mar 28, 2015 at 2:29am UTC
Ganado
(6812)
I believe what you're looking for is
while
(tuition >= 0)
Topic archived. No new replies allowed.