Write a program that reads three whole numbers

Assignment Help Basic Computer Science
Reference no: EM13763203

Write a program that reads three whole numbers and displays the average of the three numbers.

Input Notes: Three whole numbers (non-negative integers ) are entered at the console.

Output Notes (Prompts and Labels): The program prompts for the three integers with these strings : "Enter the first integer .", "Enter the second integer .", "Enter the third integer .".

The program then prints The average of NUMBER1, NUMBER2, and NUMBER3 = AVG

where NUMBER1 is the first integer value entered and NUMBER2 and NUMBER3 the subsequent integers , and AVG is the computed average value.

Reference no: EM13763203

Questions Cloud

Market be assuming about the growth in dividends : If a stock is selling for 200 in the stock market, what might the market be assuming about the growth in dividends when the dividend at time t =1 is expected to be 4.25 per share and r is 5%?
Project will need an initial investment : New Co is considering investing in a new hotel project. The project will need an initial investment of 1,000,000 in year zero and will generate 500,000 (after tax) cash flows for the four subsequent years.
Discuss the impact of global business : Discuss the impact of global business and the trade rules and agreements that govern - explain why companies choose to standardize or adapt their business procedures
What is the current value of the stock today : Start Up Plc is expected to pay a dividend of 4.75 per share at the end of year 1 and these dividends are expected to grow at a constant rate of 3.5% per year forever. If the required rate of return on the stock (and all stocks of the same risk class..
Write a program that reads three whole numbers : Write a program that reads three whole numbers and displays the average of the three numbers.
What is the yield to maturity on the bonds : Tom is considering the purchase of Red Lobster Inc. bonds that were issued 4 years ago. When the bonds were originally sold, they had a 25-year maturity and a 6.54% coupon interest rate paid annually. What is the yield to maturity on the bonds if you..
Identifying risk in all levels of planning of the event : Identifying risk in all levels of planning and implementation of the event. Be aware of what and when to have a contingency plan. Recognize how research and communication assist in event planning.
Describe steps involved in the strategy-making process : Specify the components of sustainable competitive advantage and explain why it's important - describe the steps involved in the strategy-making process.
Dq development of training. : What are some of the different factors that we should consider when designing a training program? Discuss how user documentation can be used in the development of training. What other factors, such as organizational constraints, should we consider..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a java for file processing according to rules

The file is read into memory, all of it in one buffer, and the buffer is reversed, then the file is overwritten. For simplicity, we may assume that the maximum size of the file is 200000 bytes. If no file was selected an error message is displayed..

  A string may use more than one type of delimiter

A string may use more than one type of delimiter t bracket information into "blocks" for example, A string is properly delimited if each right delimiter is matched with a perceding left delimiter of the same type in such a way that either the resu..

  Categorize the efficiency in terms of the variable

Show in milliseconds the amount of time this construct would require to execute if n were 1000 - Consider the following nested loop construct

  Calculate the value of pi upto 10 decimal points

Use the equation pi/4 = tan^-1(1/2) + tan^-1(1/3) to evaluate the value of pi. Howmany iterations does it require? Comment on the difference. Submit matlab code.

  What transport protocols

What transport protocols

  Develop a framework for the it steering committee

Develop a framework for the IT steering committee, explaining the roles and responsibilities of the members.

  Create memo for management-accounting information systems

Create a memo to your management in which you address significance of accounting information systems. Give some main features of accounting information system.

  You are the lead forensic technician within a medium size

create a 15-20 slide powerpoint presentation addressing the following scenarioyou are the lead forensic technician

  Create a uml for a class called triangle

Create a UML for a class called triangle.

  What is the full url

You wish to use HTTP version 1.1 to retrieve index.html on the base directory of a machine named example.com that is configured to accept connections on the smallest ephemeral port number. What is the full URL?

  Identify the potential risks found in the organization

Create an introductory section where you clearly DEFINE RISK.

  What is the minimum number of bits required to represent

What is the minimum number of bits required to represent

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