May 2021 3 71 Report
c++ while loop? Decently easy?

I dont need the whole program.. just the loop part of it. Best answer gets the points (not neccissarily the first..)

Write a while loop that reads positive integers from standard input, printing out those values that are greater than 100, and that terminates when it reads an integer that is not positive. The values should be separated by single blank spaces. Declare any variables that are needed.

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.