Design a calculator program that will add subtract multiply

Assignment Help Accounting Basics
Reference no: EM13566760

Design a calculator program that will add, subtract, multiply, or divide two numbers input by a user. Your program design should contain the following:

•The main menu of your program is to continue to prompt the user for an arithmetic choice until the user enters a sentinel value to quit the calculator program.

•When the user chooses an arithmetic operation  the operation is to continue to be performed auntil the user enters a sentinel value to end the chosen arithmetic operation.

•If the user chooses division, do not allow the user to divide by 0. Display an error message to user and ask the user to choose another denominator. You are to submit the following for the assignment:

•Your RAPTOR source code file with comments added to each line or where necessary to explain program flow. Also submit the flowchart of your working program.

•Make sure you run it to make sure it is error free and does what it is supposed to. You can use the generate dropdown to create example C++ code based on your working logical flow chart to see what the code would look like. Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed.

Reference no: EM13566760

Questions Cloud

Brees inchas current assets of 3800 net fixed assets of : brees inc.has current assets of 3800 net fixed assets of 19900 current liabilities of 3000 and long-term debt of 11500.
Tom obrien has a 2-stock portfolio with a total value of : tom obrien has a 2-stock portfolio with a total value of 100000. 37500 is invested in stock a with a beta of 0.75 and
Most people welcome cheap air travel because it gives : question 1you have been asked to write an essay based on topic given below. prepare an outline for the topic using the
The centralized employee travel department of ohno company : the centralized employee travel department of ohno company has expenses of 210000. the department has serviced a total
Design a calculator program that will add subtract multiply : design a calculator program that will add subtract multiply or divide two numbers input by a user. your program design
How many payments is that if money earns 612 how much cash : bobs granddaughter was born today. bob wants to be able to give his granddaughter 200 a month from her 18th birthday
The total factory overhead for landen company is budgeted : the total factory overhead for landen company is budgeted for the year at 675000. landen manufactures two drapery
A 100000 122 bond matures in 10 years if amy wants to earn : a 100000 122 bond matures in 10 years. if amy wants to earn 152 how much should she pay for the bond? is this a
What is the relative tax advantage of corporate debt if the : what is the relative tax advantage of corporate debt if the corporate tax rate is tc .35 the personal tax rate is tp

Reviews

Write a Review

Accounting Basics Questions & Answers

  What is the return on equity

A company has taxable income of $1,760 with a tax rate of 38 percent. Owners equity is: $400 in stock, $200 in capital surplus, and $200 in retained earnings. What is the return on equity (ROE)?

  Determining overhead application rate

Canoe Company's production costs for the year were: direct labor, $30,000; direct materials, $50,000; and factory overhead applied, $6,000. The overhead application rate was:

  What was the actual price per pound of the iron

For 2009, PMD Inc. had set the following standards for production of metal tables: 35 pounds of iron at a standard cost of $2.60 per pound. During June the company produced 300 tables. The company bought 10, 625 pounds of iron at a cost of $25,500..

  Overapplied to cost of goods sold

Actual manufacturing overhead by year-end totaled $233,000. Rockville adjusts all under- and overapplied to cost of goods sold.

  Provide and explain missing closing entry

Retained earnings at 1/1/06 was $150,000 and at 12/31/06 it was $200,000. During 2006, cash dividends of $50,000 were paid and a stock dividend of $40,000 was issued. Both dividends were properly charged to retained earnings.

  Compute the depreciation expense

Survival Industries, Inc. purchased a boat at a cost of $360,000-Compute the depreciation expense for 2014

  Whats the gain or loss on the redemption

Face rate is 10 % and maeket rate 12%. What's the carrying value after the first interest payment is made on June 30? Also, if the bonds are retired on July 4, at a call price of 105, what's the gain or loss on the redemption?

  Record as gain on retirement of bonds

On March 1, 2011, Hess retired $400,000 of these bonds at 98 plus accrued interest. What should Hess record as a gain on retirement of these bonds? Ingore taxes.

  Which hughes corporation has the opportunity to invest

The following table contains information about four projects in which Hughes corporation has the opportunity to invest. This information is based on estimates that different managers have prepared about their potential project (see attached table)

  Adjusting entry necessary as a result of the physical count

Peter Kalle Company had the following account balances at year-end: cost of goods sold $55,243; merchandise inventory $15,153; operating expenses $29,503; sales $105,181; sales discounts $1,273; and sales returns and allowances $1,546. A physical ..

  Accounts receivable turnover for the period

A company has net sales of $410,000 and average accounts receivable of $82,000. What is its accounts receivable turnover for the period?

  What is the firms dividend growth rate

The common stock of EBM Corporation is $100 per share. The expected dividend on its stock in the current period is $5, and the firm's cost of common stock is 12%. What is the firm's dividend growth rate (assume that the growth rate is constant)?

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