Maintain a running sum of the numbers

Assignment Help Business Economics
Reference no: EM131427203

Design and write a modular C program to perform the following tasks:

1. Ask the user for a positive number between 1 and 23, only accept those numbers

2. Maintain a running sum of the numbers

3. Continue asking for numbers while the sum of the numbers is less than 98

4. Keep track of the largest & smallest number entered

5. When the sum of the numbers is more than 98 the program should stop asking for number input

6. Display the sum of the numbers and the largest and smallest number entered

7. Have the program continue running with new input until told to stop (allow for a new set of numbers to be entered)

Reference no: EM131427203

Questions Cloud

Maintaining the current security posture : Which of the following should the technician implement while maintaining the current security posture, given that the company-wide deployment of the new application is not complete?
Will your margin of error be larger or smaller : If all respond, will your margin of error be larger or smaller than $1100? What if only 50% respond? Verify your answers by performing the calculations.
What is snmp : What is SNMP (include advantages and disadvantages) and what transfer protocol it uses. On SNMP advantages and disadvantages, what do you think is the most important to you and why it is important?
Does the given confidence interval include the value 35 : Does the 95% confidence interval include the value 35? Explain.- Does the 99% confidence interval include the value 35? Explain.
Maintain a running sum of the numbers : 1. Ask the user for a positive number between 1 and 23, only accept those numbers. 2. Maintain a running sum of the numbers. 3. Continue asking for numbers while the sum of the numbers is less than 98
Explain the project procurement process : During this course, you have developed many of the artifacts utilized by project managers. You have learned that, contrary to common misconceptions, project managers are involved in more than scheduling. In this paper, you will cover some of the o..
Find and analyze an example of a deductive reasoningor : Find and analyze an example of a deductive reasoningor inductive reasoning. Use any text you wish: an advert, excerpt from a political speech or media article, social media posting etc
Can you reject the null hypothesis : Can you reject the null hypothesis that μ = 58 against the two-sided alternative at the 5% significance level? Explain.
Is givan small margin of error is a good measure of accuracy : The reported margin of error is 4%. Do you think that this small margin of error is a good measure of the accuracy of the survey's results? Explain your answer.

Reviews

Write a Review

Business Economics Questions & Answers

  Market conditions in an oligopoly increase the probability

Which of the following market conditions in an oligopoly increase the probability that it will be able to maintain prices well above the competitive market level? Explain your answer briefly in each case.

  Formulating sound economic policies for recession

"Neither monetary policy nor fiscal policy alone can be effective in formulating sound economic policies for recession." Do you agree or disagree?

  Calculate GDP via the expenditure approach

To which category of U.S. GDP expenditure does each of the following correspond? Using any relevant information below, calculate GDP via the expenditure approach. Nominal GDP in Nowhereland in 2002 and 2003 increased from $4 trillion to $4.8 trillion..

  What mistakes did the federalists make

What developments of the 1790s resulted in the rise of the Republican Party? What mistakes did the Federalists make? What evidence reveals that sectional differences regarding the economy and allocation of political power were growing in the period o..

  Determine the own price elasticity of demand

Suppose the demand function for a firm's product is given by In Qdx=7-1.5 InPx+2 In Py-0.5 In M + In A where Px=$15, Py=$6 M=$40,000 and A=$350. Determine the own price elasticity of demand, and state wheter demand is elastic, inelastic, or unitary e..

  Direct effects of increased money and spending

Do you think that monetary policy works better through the indirect effect of low interest rates or better through the direct effects of increased money and spending? Can the government cause a recession and then limit the strength and speed of the e..

  Product promotion strategy and standardized product

An industry which has no barriers to entry, no product promotion strategy, a standardized product, and a very large number of firms operating within it, is said to have:

  Calculate contribution margin ratio at the projected levels

You are pitching a marketing proposal to a company that sells electronic equipment. For a particular product line, their current sales price is $20 per unit, cost is $9 per unit and they have $20,000 in fixed costs associated with this line. Calculat..

  Write a thorough analysis of unemployment

Write a thorough analysis of unemployment, defining the various types of unemployment, full employment, and the natural rate of unemployment. Describe the impact of unemployment on the economy and your solutions to lower unemployment. Remember to cit..

  Determine the after-tax equivalent present worth

A certain engine lathe can be purchased for $270,000 and depreciated over three years to a zero salvage value with the SL method. This machine will produce metal parts that will generate revenues of $180,000 (time zero dollars) per year. Determine th..

  What is the discount rate on this t-bill

A 90 day T-Bill is selling for $9,915. The par is $10,000. What is the discount rate (discount yield) on this T-Bill? What is the bond equivalent yield on this investment? What is the effective annual rate on this investment?

  Considering eliminating or reducing the surcharges

From California to New York, legislative bodies across the US are considering eliminating or reducing the surcharges that banks impose on non-customers who make $12 million in withdrawals from other banks’ ATMs. On average, noncustomers earn a wage o..

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