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

  Investigate and compare winpcap

Investigate and compare WinPcap and two other network packets capture software Products.

  Write a program that defines and tests a factorial function

Write a program that defines and tests a factorial function. The factorial of a number is the product of all whole numbers from 1 to N. For example, the factorial of 5 is 1*2*3*4*5=120, Help?

  The technologies used to implement them

Q1: Describe WMANs, the technologies used to implement them, and where they are predominantly used Q2: What should be included in the narrative of a site survey report? Q3: Explain how an attacker can force a renegotiation to capture an SSID, even th..

  Compare and contrast the benefits of sharing digital

Research both sides of the argument. Compare and contrast the benefits of sharing digital content and the desire to protect it. Which side do you believe has the more valid position? Why?

  Give an algorithm for numbering the nodes of a tree

The sorting-by-splitting circuit seems to have feedback to a parent node. Does this violate the combinational circuit rule?

  Explaining information assurance needs

For Milestone Three, you will prepare and submit a three-slide presentation explaining information assurance needs includingrisks associated with non-adherence to information assurance processes, and countermeasures to mitigate risks.

  Top left hand corner of the file submission box.

For this assignment, you will be creating a storyboard for your final course project. By now, you should have selected a topic for your web site, and given some thought to your design. Perhaps you have already started working on creating your pages! ..

  Significant invention which shaped society today

Pondering history of technology development, decide what you think was the most significant invention previous to the 1600s which has shaped society today. Explain your decision.

  You are a systems development consultant

You are a systems development consultant who has been approached by a client, a law firm, to develop an automated case tracking system. The first step is to negotiate the project scope

  Statements that make variable-s field-s values consistent

Write one or two statements that make this variable's field's values consistent with the mathematical notion of "origin".

  Specify internet searches within search engines

A connective (and, or, OR not) used to specify internet searches within search engines (automatically understood on Google)

  Issues raised by how these actants

Outline the issues raised by how these actants are acting, e.g. is Big Data being generated? If so, what does Morozov say are the issues? Are human behaviours being adjusted - if so, what does Nicholas Carr say about that, e.g. effect of Internet..

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