Question: CSC 1311- Computer Programming II Pre-Course Assessment Caldwell Spring 2018 Problem: Develop a Java program to allow a user to enter to a series of
CSC 1311- Computer Programming II Pre-Course Assessment Caldwell Spring 2018 Problem: Develop a Java program to allow a user to enter to a series of numbers separated by space from the keyboard. The last number entered is always-1. Display the list of numbers entered then find and display the sum and average of all positive integers entered from the keyboard. Run your program using the following data: Run 1: 0,-2,4,-5,-1 Run 2: -1 Run 3: 4, 8, 10, 12,-5, 20,-1 Display the output for each sample run. Submit the following to blackboard for grading: Java program Sample output e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
