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

  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