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

  Find the expected number of jobs in the system at any time

An M/M/1 queuing system spends 30% of the time in the idle state. Find the expected number of jobs in the system at any time.

  What is wrong with how gold coast advertising measures

1. What is wrong with how Gold Coast Advertising measures its quality? Explain why Gold Coast should ask its customers about how they define quality.

  Sort the array into descending sequence

Call an iterative sum method to sum the values in the array. Print this total and use it to desk check the total developed by the recursive sum method.

  Privacy and security issues are inherent in data storage

Privacy and security issues are inherent in data storage. Let's consider the question of who owns the data about a particular person: medical, credit, personal, financial, consumer information, etc.?

  Write a problem that prompts the user for a radius

Write a problem that prompts the user for a radius and then prints: •The area and the circumference of a circle with that radius •The volume and surface area of a sphere with that radius

  Prepare the case budget for the fourth quarter

Using a spreadsheet to prepare the case budget for the fourth quarter. The cash budget should be included as an appendix to the written report and should be referenced in the written report.

  Assignment concerns consumer profiling

The third participation assignment concerns consumer profiling! The attached article "What do firms know about you? FTC would pull back the curtain," by Craig Timberg from the Washington Post of 5-28-14 has some details. There are three questions ..

  The real reasons why the vcf system failed

The real reasons why the VCF system failed?

  Assume the friction coefficient between the rope and capstan

How many wraps around the capstan are required such that one person exerting 100lbs of force can keep the ship at its mooring. Assume the friction coefficient between the rope and capstan is 0.2.

  Secure windows-unix-linux servers from known shortcoming

The CIO has asked you to explain why you suggest it is so significant to secure your Windows and Unix/Linux servers from known shortcomings/vulnerabilities.

  What cryptographic techniques would be used

Alice's Remanufactured Auto Parts is located in St. Louis, Missouri. Due to the popularity of the lowered price and high quality of remanufactured parts, Alice wants to expand operations to the World Wide Web.

  What is being proposed if net neutrality is implemented

One of the current 'hot topics' is Net Neutrality. Explain what net neutrality refers to, what is being proposed if net neutrality is implemented, and give your opinion as to what should or should not be done and why.

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