ASM3 - Assignment 3 Reading 1 Read the power point presentation for chapter 3 2 Read Chapter 3 of your textbook 3 Take Chapter 3 Quiz by the due

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 3 Reading: 1. Read the power point presentation for chapter 3. 2. Read Chapter 3 of your textbook 3. Take Chapter 3 Quiz by the due date. Programming Assignment: 4. Write a Java program that reads in a list of nonnegative integers one at a time until user signals the end of the input by entering a sentinel value (see note below). Your program then will output The number of input integers. If the number of input integers is larger than 0 then, display to the screen 1. The number of input integers (count). 2. The largest integer. 3. The smallest integer. 4. The average of all the input integers. else, tell the user that she/he did not enter anything. Your output should look exactly like the following. For the xxxx numbers you entered the largest value = xxxx the smallest value = xxxx and the average is = xxx.xx Design an output statement if user does not enter any number. 2.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/20/2010 for the course MATH 107 taught by Professor Christinashow during the Spring '08 term at Mesa CC.

Page1 / 3

ASM3 - Assignment 3 Reading 1 Read the power point presentation for chapter 3 2 Read Chapter 3 of your textbook 3 Take Chapter 3 Quiz by the due

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online