SuperTutor

(15)

$15/per page/Negotiable

About SuperTutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Economics,Engineering,HR Management,Math Hide all
Teaching Since: Apr 2017
Last Sign in: 327 Weeks Ago, 5 Days Ago
Questions Answered: 12843
Tutorials Posted: 12834

Education

  • MBA, Ph.D in Management
    Harvard university
    Feb-1997 - Aug-2003

Experience

  • Professor
    Strayer University
    Jan-2007 - Present

Category > Programming Posted 18 May 2017 My Price 9.00

CMPSC 101LAB 9 – Basic statistics

We're doing loops part 2 right now but I need help with this lab. 

 

CMPSC 101LAB 9 – Basic statisticsWrite a program that reads numbers from the input stream until a zero is encountered.Display the average (rounded down to an integer), the maximum number and theminimum number. Assume that numbers entered will be between 1 and 1000. Forexample:Enter a number: 33Enter a number: 88Enter a number: 77Enter a number: 22Enter a number: 66Enter a number: 55Enter a number: 0Average: 56Max: 88Min: 22Another example:Enter a number: 0No data, so no answers!Run it5 timeswith different data,including the two above examples.Then, following the instructions in the “How to package and submit your labs” video,package up your work. Double check to confirm that the package is complete (i.e., allthe header info, the code, the screen shots, the output, etc.), and then submit it to thedrop box.Next, go back and confirm that the submission is in the drop box!

Attachments:

Answers

(15)
Status NEW Posted 18 May 2017 03:05 AM My Price 9.00

-----------

Not Rated(0)