Display the sum and the average of the 3 values

Assignment Help Basic Computer Science
Reference no: EM131050024

Write a java program to accept 3 integer values from keyboard, display the sum and the average of the 3 values.

Run your program by DOS first then by netBeans IDE.

Program specs:

(1) When program starts, prompt the user with this program heading and instructions:

This program will sum up three integer values and calculate the average

You will be asked to input these values separately, the program will then:

(1) Calculate the total

(2) Calculate the average

(3) Display the values of total and average

Use ONLY one statement for the above requirement.

(2) The integer values can be stored by 4 bytes of memory

(3) The calculated results are displayed by ONE statement as follow:

The sum of integer value 1: xxxx
value 2: xxxx
value 3: xxxx
---------------------------------
Total: xxxxx
Average: xxxx.xx (2 decimal places)

Reference no: EM131050024

Questions Cloud

What is the minimum number of doctors : What is the minimum number of doctors needed to meet the administrator's objective? (with the minimum number of doctors working all together)
Write a four pages research of a story called the pedestrian : Write a four pages research of a story called The Pedestrian. Begin with a quote in some of the paragraphs. Clear Thesis statment. Make a refrence to the quote.
How was the viewing experience different : How did you experience reading the story? How was the viewing experience different? What did you notice in one that you missed in the other?
Demand versus the utilization of proper seasonal forecasting : Process of how managers checking scanner records to learn past demand versus the utilization of proper seasonal forecasting.
Display the sum and the average of the 3 values : Write a java program to accept 3 integer values from keyboard, display the sum and the average of the 3 values.
Sales and operations planning : How long should a company look at its sales, tomorrow only or a year out? What are the benefits to sales and operations planning? What elements of financial planning need to be understood?
How company utilizes big data to enhance productivity : ITECH7407- REAL-TIME ANALYTICS TEAM ASSIGNMENT. In this track, write a research report of about 3000 words highlighting how a particular large company utilizes Big Data to enhance productivity and efficiency. The report should be well researched an..
Find three current articles on the single topic : In a short concluding section, write a general summary of your literature search of the three articles, specifying where they agree and disagree and how your thinking has been altered, or supported, after studying the three articles.
Create a procedure namedfindthrees that returns 1 : Create a procedure namedFindThrees that returns 1 if an array has three consecutive values of 3 somewhere in the array.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd