Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED ASAP Please MAKE SURE TO SUBMIT YOUR CODE TO BOTH WEBCAT AND PASTE YOUR SOLUTION HERE IN CANVAS FOR FULL CREDIT! Average Write a

NEED ASAP Please

image text in transcribed

MAKE SURE TO SUBMIT YOUR CODE TO BOTH WEBCAT AND PASTE YOUR SOLUTION HERE IN CANVAS FOR FULL CREDIT! Average Write a program called Average that allows a user to enter multiple values and it will calculate the average of the values entered. The sentinel value is 1; any other value should be calculated as part of the average. It is possible that the user enters only the sentinel value, in which case the average should be 0.0. Averages must be correct to the 2nd digit after the decimal Sample Run (user input underlined) Enter a value: 20 Enter a value 1 Enter a value 3 Enter a value 15 Enter a value: 1 18.75 Sample Run (user input underlined) Enter a value 2 Enter a value: 20 Enter a value 2 Enter a value:1 20.0 Sample Run (user input underlined) Enter a value: 1 0.0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

What is a research memo designed to do?

Answered: 1 week ago