Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need it in java please NOT c++ CSE 110 Assignment 3.pdf Lab 4.pdf x GCSE 110: Principles of Progra x ent asu.edu/bbeswebdav/pid-17464437-dt-content-rid-118937161.1/courses/2018Spring-T CSE110-113 -
I need it in java please NOT c++
CSE 110 Assignment 3.pdf Lab 4.pdf x GCSE 110: Principles of Progra x ent asu.edu/bbeswebdav/pid-17464437-dt-content-rid-118937161.1/courses/2018Spring-T CSE110-113 - + Automatic Zoom CSE 110: Principles of Programming Languages Assignment 3 Overview In this assignment you will write a program that will accept numerical inputs from the user until they enter a zero. The program will track some information about the numbers the user inputs and will display these after the user has finished entering new values. It will also perform some basic statistics on the inputs and display those as well Requirements Your program must do the following in order to receive full credit on this assignment. 1. Create an int variable that will track the number of inputs, a double value that will store the sum of the inputs, and a double that will hold the user's last input. 2. Print a message infonning the user to type in double values and to enter 0 when they are 3. Create a loop that will run until the user types in a zero. a. Print a message asking the user to type in a number. b. Accept a double value from the user c. Each input is added to the sum i. Even if it's negative! d. Track the total number of inputs e. Track the highest and lowest value you see These can be the same (for example if the user only typed In a single number). i F4 F5 F6 F7 F8 F9 F10 F11 F12
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started