Question: Basic Input and Output Program Outcome: Student will demonstrate the ability to understand primitive data types Student will demonstrate the ability to understand arithmetic operators

Basic Input and Output Program

Outcome:

Student will demonstrate the ability to understand primitive data types

Student will demonstrate the ability to understand arithmetic operators

Student will demonstrate the ability to understand and use variables

Student will demonstrate the ability to create and user a Scanner for input

Student will demonstrate the ability to use System.out.println()

Student will demonstrate the ability to use the + to concatenate strings together.

Program Specifications:

This program requires the student to create a program that asks the user for three numbers. The output will be the sum and average of the three numbers.

Sample output (you must follow this example):

The three numbers are: 90, 80, and 75.

The sum of the numbers is: 245.

The average of the numbers is: 81.66666666.

Submission Requirements:

Once you have written the program, submit java source file.

YOU CANNOT:

Use global variables

Use the word goto

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!