Questions
This assignment is For a C++ class , I am having difficulty with getting the boolean...

This assignment is For a C++ class , I am having difficulty with getting the boolean statements the most; getting them set up properly inside the int main() area.

You have been asked to define a tip-calculating function named calcTip that could be integrated into a larger piece of software designed to improve guest service at a restaurant. As a result, you must conform to the function specification used throughout the rest of the project's code:

double calcTip(double checkAmount, bool postTax, bool round);

This function, when called, calculates and returns a tip amount in U.S. dollars determined by the values of its two boolean parameters. Any extra comments with guidance will be very apprectiated, thank you so much!
----

tipCalc's parameters:

checkAmount:

The amount of a check in U.S. dollars with tax included.
Ex. a value of 15.00 represents $15.00 USD.

postTax:

The value of the postTax parameter determines whether the function calculates a tip before or after the tax has been added to a check amount.

A value of true means that the calculated tip will be based off the entire check amount.

A value of false indicates that tax must be removed from the check amount before a tip is calculated.

round:

The value of the round parameter determines whether or not the tip amount is rounded up before being returned. A value of true indicates that the value will be rounded up.


----


Assume that the tax rate for meals is a fixed 7.8% regardless of the geographical region in which
this software may be used. Also, in the interest of elevating the standard of what constitutes a
good tip, the tip rate is a fixed 20%.

As examples, a tip calculated for an entire $20.00 check (which includes tax) without rounding would be $4.00. A tip calculated for only the pre-tax amount of a $20.00 check without rounding would be $3.69.


Implementation


You must not make any changes to the calcTip's return type or parameters.


----


In main, you must prompt for and accept user input that will be used as arguments for a calcTip function call.

You have the freedom to structure main as you see fit, provided that I can execute your program and specify the following before a call to calcTip is made:

1.) the amount of the check after tax has been applied (e.g. I can enter $20.00 or similar)
2.) whether or not I want my tip to be calculated off the full check (i.e. including tax)
3.) whether or not I want to round up my tip to the nearest U.S. dollar

You must not prompt for this input inside calcTip().


----


Once this is done, a function call to calcTip must be made inside main; its return value
will be output.


Results

Output the following text in main after making the call to calcTip:

Your tip amount is $[TIP AMOUNT]

In order to verify program correctness, you should run the program four times under the following conditions:

1.) The user wants a 20% tip on a $15 check before tax with no rounding.
2.) The user wants a 20% tip on a $15 check after tax with no rounding.
3.) The user wants a 20% tip on a $15 check before tax with rounding.
4.) The user wants a 20% tip on a $15 check after tax with rounding.

In: Computer Science

1. In the completed work sheet, which of the following sets of columns would contain the...

1. In the completed work sheet, which of the following sets of columns would contain the two balances in the Income Summary account representing beginning and ending inventory when using the periodic inventory system?

a. Adjustments and Balance Sheet columns

b. Trial Balance and Adjustments columns

c. Trial Balance and Income Statement columns

d. Adjustments and Income Statement columns

e. Trial Balance and Balance Sheet columns

2. If the trial balance amount of Unearned Pest Spray Revenue is $50,000, and $40,000 has been earned by the end of the fiscal period, the adjustment would be

a. debit Pest Spray Revenue; credit Unearned Pest Spray Revenue.

b. debit Unearned Pest Spray Revenue; credit Cash.

c. debit Cash; credit Unearned Pest Spray Revenue.

d. debit Accounts Payable; credit Unearned Pest Spray Revenue.

e. debit Unearned Pest Spray Revenue; credit Pest Spray Revenue.

3. Adjusting entries are journalized and posted in a noncomputerized system

a. after the closing entries have been journalized.

b. after the trial balance is prepared but before the work sheet is completed.

c. after the adjustments are entered in the work sheet but before the work sheet is completed.

d. after the worksheet is completed but before the financial statements are prepared.

e. at none of these times.

4. Which of the following account type is NOT located on the worksheet's balance sheet?

a. Assets

b. Purchase Discounts

c. Drawing

d. Liabilities

5. Net income appears on the work sheet in the

a. Balance Sheet Debit column.

b. Income Statement Debit column.

c. Adjustments Debit column.

d. Income Statement Credit column.

e. Adjusted Trial Balance Debit column.

In: Accounting

The following information is from Alberta Ltd financial statements for the year ended Dec 31, 2020:...

The following information is from Alberta Ltd financial statements for the year ended Dec 31, 2020: - Net income for the year $ 460,000. - 8% Convertible bonds issued at par $1,000,000 ($1000 per bond), each bond convertible into 20 common shares $1,000,000 - 6% non-cumulative preferred shares $100 par value. $1,000,000 - Common shares 120,000 authorized, 60,000 issued and outstanding $ 600,000 - Stock options (call option granted in a prior year) to purchase 30,000 common shares at $10 per common share. - Average market price per common share during 2020 was $12, and the tax rate for 2020 is 35% - Alberta declare and pay $100,000 dividends during 2020 There were no changes during 2020 in the number of common shares, preferred shares, stock options or convertible bonds. Also for simplicity, ignore the requirement to book the convertible bonds’ equity portion separately. Instruction: A) Calculate the basic EPS for 2020 B) Calculate diluted EPS for 2020 (Show your calculation for each transaction/ affect)

In: Accounting

The following information is from Alberta Ltd financial statements for the year ended Dec 31, 2020:...

The following information is from Alberta Ltd financial statements for the year ended Dec 31, 2020: - Net income for the year $ 460,000. - 8% Convertible bonds issued at par $1,000,000 ($1000 per bond), each bond convertible into 20 common shares $1,000,000 - 6% non-cumulative preferred shares $100 par value. $1,000,000 - Common shares 120,000 authorized, 60,000 issued and outstanding $ 600,000 - Stock options (call option granted in a prior year) to purchase 30,000 common shares at $10 per common share. - Average market price per common share during 2020 was $12, and the tax rate for 2020 is 35% - Alberta declare and pay $100,000 dividends during 2020 There were no changes during 2020 in the number of common shares, preferred shares, stock options or convertible bonds. Also for simplicity, ignore the requirement to book the convertible bonds’ equity portion separately. Instruction: A) Calculate the basic EPS for 2020 B) Calculate diluted EPS for 2020 (Show your calculation for each transaction/ affect)

In: Accounting

A manager at Stalemate, a chess business retailing chess boards and providing chess lessons, requires help with interpreting some of the accounting transactions that took place during the month of September 2020.

QUESTION 3

A manager at Stalemate, a chess business retailing chess boards and providing chess lessons, requires help with interpreting some of the accounting transactions that took place during the month of September 2020. The manager has provided you with a list of those transactions below.

Required:

Underneath each transaction in the space provided, write a brief narration describing the economic event that corresponds to that transaction.

Date

Account titles (Details)

Dr ($)

Cr ($)

2/9/2020

Cash

3,000

Accounts Receivable

2,500

GST Collected

500

Service Revenue

5,000

Answer here:

3/9/2020

Wages Payable

6,500

Cash

6,500

Answer here:

15/9/2020

Chess boards

10,000

GST Paid

1,000

Accounts Payable

5,000

Cash

5,100

Answer here:

30/9/2020

Accounts Payable

15,000

Bank Loan

15,000

Answer here:

30/9/2020

Rent Expense

2,000

Prepaid Rent

2,000

Answer here:

30/9/2020

Unearned Revenue

10,000

Service Revenue

10,000

Answer here:

In: Accounting

On January 1, 2020, Jens Corp. acquired 8%, $ 100,000 (face value) bonds of World Wide...

On January 1, 2020, Jens Corp. acquired 8%, $ 100,000 (face value) bonds of World Wide Ltd., to yield 9% for $95,517.20. The bonds were dated January 1, 2020, and mature on December 31, 2025, with interest payable each year on January 1. Jen intends to hold the bonds to maturity, and will use the FV–NI model and the effective-interest method of amortization of bond premium or discount. Assume that the fair market value of the bonds was equal to Jens investment’s book value in 2020, but in 2021, the fair market value of the bonds were $101,000 at the end of 2020.

Required:   (Round all answers to the nearest dollar.)

(1) Prepare an amortization schedule ‘proving’ the price that Jen paid for the bonds.

(2) Prepare the following entries in Jen's books:

a)      Acquisition of bonds on January 1, 2020,

b)      Year-end adjusting entry at December 31, 2020, and December 31, 2021.

c)      Receipt of the first interest payment on January 1, 2021.

d)      Any adjusting entry required at the end of 2020 in addition to the any journal entries recorded above.   

In: Accounting

Demand and supply. Show in a diagram the effect on the demand curve, the supply curve,...

Demand and supply. Show in a diagram the effect on the demand curve, the supply

curve, the equilibrium price and quantity of each of the following pairs of events.

a. The market for hand-sanitizers in New York at the beginning of April 2020.

i. The number of Covid-19 cases increases exponentially starting from 1st March 2020;

ii. On March 9, 2020 New York State Governor Andrew Cuomo allowed for state

production of hand-sanitizers.

b. The market for touristic services in Spain in Summer 2020.

i. The European Union imposes travel restrictions to free movement of people (for

leisure) due to the healthcare crisis following the Covid-19 pandemic.

ii. New cleaning protocols require higher standard of sanitization in hotels and public

places to prevent the coronavirus from spreading.

c. The market for real estate in Italy in Spring 2020.

i. Due to the severe restrictions imposed by the lockdown starting from 5th March 2020,

a growing number of families searched for homes with a garden;

ii. The lockdown period produced a GDP fall by 12.4% in second quarter 2020

In: Economics

Tamarisk Merchants reported the following on its income statement for the fiscal year ended December 31,...

Tamarisk Merchants reported the following on its income statement for the fiscal year ended December 31, 2021 and 2020.
2021 2020
Sales $495,160 $475,490
Cost of goods sold
    Beginning inventory 145,780 154,124
    Net purchases 346,090 322,660
    Ending inventory (138,874) (145,780)
Cost of goods sold 352,996 331,004
Gross profit 142,164 144,486
Operating expenses 87,568 89,168
Profit $54,596 $55,318

Calculate the inventory turnover ratio for Tamarisk for 2021 and 2020. (Round answers to 2 decimal places, e.g. 52.75.)

Calculate the days sales in inventory for Tamarisk for 2021 and 2020. (Round answers to 0 decimal places, e.g. 5,275 and use 365 days for calculation.)

Calculate the gross profit margin for Tamarisk for 2021 and 2020. (Round answers to 1 decimal place, e.g. 52.7%.)

Calculate the profit margin for Tamarisk for 2021 and 2020. (Round answers to 1 decimal place, e.g. 52.7%.)

For each ratio calculated in (a), (b), (c) and (d) above, identify if the ratio has improved or deteriorated from 2020 to 2021.

In: Accounting

For your fictitious healthcare service, you will create a balance sheet and income statement based upon...

For your fictitious healthcare service, you will create a balance sheet and income statement based upon the following financial transactions occurring during your start-up year:

6. May 1, 2020 through December 31, 2020: You use $30,000 in supplies to provide healthcare services to your patients each month. You record the use of supplies on the last day of each month.

7. June 1, 2020: You pay your suppliers $80,000 for supplies purchased on credit.

8. July 1, 2020: You receive payments from health insurance companies totaling $250,000.

9. August 1, 2020:

a. You purchase $160,000 of supplies on credit for use in caring for your patients.

b. You receive payments from health insurance companies totaling $320,000

10. September 1, 2020: You receive payments from health insurance companies totaling $225,000.

11. October 1, 2020: You receive payments from health insurance companies totaling $310,000.

In: Accounting

Blanchard Inc. acquired a packaging machine from CCC Corporation. CCC Corporation completed construction of the machine...

Blanchard Inc. acquired a packaging machine from CCC Corporation. CCC Corporation completed construction of the machine on January 1, 2020. In payment for the $5 million machine, Blanchard Inc. issued a three-year installment note to be paid in three equal payments at the end of each year. The payments include interest at the rate of 8%.

1. Prepare the journal entry for Blanchard’s purchase of the machine on January 1, 2020.

January 1, 2020:

2. Prepare the partial amortization schedule for the first two years of the 3-year installment note.

Amount of loan

÷ Present value of an ordinary annuity (PVA) of $1

Installment payment (rounded up to the nearest integer)

Date

Cash
Payment

Effective
Interest

Decrease in

Balance

Outstanding
Balance

1/1/2020

12/31/2020

12/31/2021

12/31/2022

Not required

Not required

Not required

Not required

3. Prepare the journal entry for the installment payments on December 31, 2020 and December 31, 2021.

December 31, 2020:

December 31, 2021:

In: Accounting