Question: Write a C++ program in this new file. Hint: you can use helloworld.cpp as a template. Using a loop, accept 10 integers from the user

 Write a C++ program in this new file. Hint: you can

Write a C++ program in this new file. Hint: you can use helloworld.cpp as a template. Using a loop, accept 10 integers from the user and do the following: 1. Count and print out how many of the entered numbers are positive. 2. Count and print out how many of the entered numbers are negative. 3. Count and print out how many of the entered numbers are zeroes 4.Calculate and print the sum of all the numbers entered. 5. Calculate and print the average value of all the numbers entered Do NOT use an array! Instead, use variables to track the above values as you iterate through the loop. Be sure to compile and test your program to be certain it works as expected. If you aren't sure how to compile and run a C++program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!