Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions