Answer to Question #47759 in C++ for joney

Question #47759
Write a complete program that reads at most 30 positive integer values, or it will stops reading if the user enters -9999
If the user enters a negative number, the number should not be accepted and he should have the chance to re-enter the number again.

After you stop reading integers from keyboard, the program should be successfully calculate and print the following:

The number of integers between 0 & 200 is: …
The number of integers between 200 & 500 is:….
The number of integers above 500 is:…
The number of primes is:….
The maximum prime number entered is:
The maximum number among all integers is:….
Expert's answer
The answer to the question is available in the PDF file

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog