Questions
Write a program that prompts the user to enter a person’s date of birth in numeric...

Write a program that prompts the user to enter a person’s date of birth in numeric form such as 8-27-1980. The program then outputs the date of birth in the form: August 27, 1980. Your program must contain at least two exception classes: invalidDay and invalidMonth. If the user enters an invalid value for day, then the program should throw and catch an invalidDay object. Follow similar conventions for the invalid values of month and year. (Note that your program must handle a leap year.)

Also the answer has to be written with 3 header files - main.cpp, invalidDay.h and invalidMonth.h

In the output, if we enter a wrong year or month; then the program should not show the output of "Invalid month" but it should again ask the user to re-enter the month or the thing that is entered incorrectly.

In: Computer Science

The following transactions occurred during the month of June 2021 for the Stridewell Corporation. The company owns and operates a retail shoe store.

The following transactions occurred during the month of June 2021 for the Stridewell Corporation. The company owns and operates a retail shoe store.

  1. Issued 75,000 shares of common stock in exchange for $375,000 cash.

  2. Purchased office equipment at a cost of $68,750. $27,500 was paid in cash and a note payable was signed for the balance owed.

  3. Purchased inventory on account at a cost of $150,000. The company uses the perpetual inventory system.

  4. Credit sales for the month totaled $255,000. The cost of the goods sold was $127,500.

  5. Paid $3,250 in rent on the store building for the month of June.

  6. Paid $1,800 to an insurance company for fire and liability insurance for a one-year period beginning June 1, 2021.

  7. Paid $108,375 on account for the merchandise purchased in 3.

  8. Collected $51,000 from customers on account.

  9. Paid shareholders a cash dividend of $3,750.

  10. Recorded depreciation expense of $1,375 for the month on the office equipment.

  11. Recorded the amount of prepaid insurance that expired for the month.


Required:
Prepare journal entries to record each of the transactions and events listed above. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)

In: Accounting

The following transactions occurred during the month of June 2018 for the Stridewell Corporation. The company...

The following transactions occurred during the month of June 2018 for the Stridewell Corporation. The company owns and operates a retail shoe store.

  1. Issued 125,000 shares of common stock in exchange for $625,000 cash.
  2. Purchased furniture and fixtures at a cost of $102,500. $41,000 was paid in cash and a note payable was signed for the balance owed.
  3. Purchased inventory on account at a cost of $250,000. The company uses the perpetual inventory system.
  4. Credit sales for the month totaled $425,000. The cost of the goods sold was $212,500.
  5. Paid $5,500 in rent on the store building for the month of June.
  6. Paid $2,880 to an insurance company for fire and liability insurance for a one-year period beginning June 1, 2018.
  7. Paid $180,625 on account for the merchandise purchased in 3.
  8. Collected $85,000 from customers on account.
  9. Paid shareholders a cash dividend of $6,250.
  10. Recorded depreciation expense of $2,050 for the month on the furniture and fixtures.
  11. Recorded the amount of prepaid insurance that expired for the month.


Required:
Prepare journal entries to record each of the transactions and events listed above. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)

In: Accounting

Write a code in c++ using dynamic array of structure and dynamic array list. Make a...

Write a code in c++ using dynamic array of structure and dynamic array list.
Make a dummy list for a company which stores following information about its customers.
Customer ID
Customer Name
Gender
Total items purchased
Item category
20% discount in percentage of total purchase amount.
Use dynamic array to save at least 20 items by dividing them into 3 different categories.
Make a dummy list of items that company sells by dividing them into two categorizes. Items has following attributes
Item number
Item price
Item name
Item quantity
Manufacturer
Expire date
Also allow customer to purchase these items. Suppose that the company has unlimited stock of items.
Note.
No element in a list would duplicate.
Each list have following functions
Create
Display
Isfull
Isempty
Islength
Clear
Delete
Copy
Find by value
Find by position
Swap by value
Swap by position
Add by value
Add by position
Delete by value
Delete by position
Update by value
Update by position

In: Computer Science

Mass Company has $ 12500 in cash on hand on January 1 and has collected the...

Mass Company has $ 12500 in cash on hand on January 1 and has collected the following budget​ data: Assume Mass has cash payments for selling and administrative expenses including salaries of $ 60000 plus commissions of 3​% of​ sales, all paid in the month of sale. The company requires a minimum cash balance of $ 10 000. Prepare a cash budget for January and February. Will Mass need to borrow cash by the end of February​?

January Febuary
Sales $1,330,000 $720,000
Cash Receipts from customers 851,740 872,000
Cash payments for merchandise inventory 561,200 532,310

Mass Company

Cash Budget

Two Months Ended January 31 and Febuary 28

January
Begginning cash balance
Cash receipts
Cash available

cash payments:

Purchases of merchandise inventory
Selling and administrative inventory
Total Cash Payments
Ending cash balance before financing
Minimum cash balance desired
projected cash excess (deficiency)

Financing:

Borrowing
Principal repayments
total effects of financing
ending cash balance

In: Accounting

2.      Suppose a company wanted to know if there was a significant in the average income of...

2.      Suppose a company wanted to know if there was a significant in the average income of its male and female customers.  Develop a null and alternate hypothesis for such a problem and give a conclusion based on the p-value results of .04.

Assume you are testing at the .05 level of significance.

3.      A company wants to know the useful life of a new revolutionary lightbulb it has just developed.  A mean of 64 of these bulbs revealed a mean useful life of 30,000 with a standard deviation of 1,500 hours.

A.      Use this information to develop a 95% confidence interval for the mean useful life of all new revolutionary lightbulbs.

B.      Use this information to develop a 98% confidence interval for the mean useful life of all new revolutionary lightbulbs.

4.      A pizza delivery company is concerned that it can no longer count on its average variable cost of $ 4.00 or less.  A sample of 36 pizzas revealed a variable cost of $4.05 and a standard deviation of $.25.  Testing at the .05 level of significance.  Develop null and alternate hypothesis for this claim and give a conclusion if your p-value is .06.

In: Statistics and Probability

QS 3-5 Prepaid (deferred) expenses adjustments LO P1 In its first year of operations, Roma Company...

QS 3-5 Prepaid (deferred) expenses adjustments LO P1 In its first year of operations, Roma Company reports the following: Earned revenues of $45,000 ($37,000 cash received from customers). Incurred expenses of $25,500 ($20,250 cash paid toward them). Prepaid $6,750 cash for costs that will not be expensed until next year. Compute the company’s first-year net income under both the cash basis and the accrual basis of accounting.

a. prepaid insurance. The prepaid insurance account has 4700 debit balance to start the year. A review of insurance policies and payments shows that 900 of unexpired insurance remains at year end

b. prepaid insurance. The prepaid insurance account has 5890 debit balance at the start of the year. A review of insurance policies and payments shows 1040 of insurance has expired by year-end

c. Prepaid rent.On september 1 of the current year, the company prepaid 24000 for two years of rent for facilities being occupied that day. The company debited prepaid rent and credited cash for 24000

In: Accounting

The following transactions occurred during the month of June 2018 for the Stridewell Corporation. The company...

The following transactions occurred during the month of June 2018 for the Stridewell Corporation. The company owns and operates a retail shoe store. Issued 145,000 shares of common stock in exchange for $725,000 cash. Purchased furniture and fixtures at a cost of $117,500. $47,000 was paid in cash and a note payable was signed for the balance owed. Purchased inventory on account at a cost of $290,000. The company uses the perpetual inventory system. Credit sales for the month totaled $493,000. The cost of the goods sold was $246,500. Paid $6,750 in rent on the store building for the month of June. Paid $3,480 to an insurance company for fire and liability insurance for a one-year period beginning June 1, 2018. Paid $209,525 on account for the merchandise purchased in 3. Collected $98,600 from customers on account. Paid shareholders a cash dividend of $7,250. Recorded depreciation expense of $2,350 for the month on the furniture and fixtures. Recorded the amount of prepaid insurance that expired for the month. Required: Prepare journal entries to record each of the transactions and events listed above. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)

In: Accounting

You have been asked by the president of your company to evaluate proposed project involving a...

You have been asked by the president of your company to evaluate proposed project involving a spectrometer. The equipment's base price is $140,000, and it would cost another $30,000 to modify it for special use by your firm. The spectrometer, which falls into the MACRS 3-year class, would be sold after 3 years for $60,000. The applicable depreciation rates are 33 percent, 45 percent, 15 percent, and 7 percent. Use of the equipment would require an increase in net operating working capital (spare parts inventory) of $8,000. The spectrometer would bring in $100,000 in revenue per year for each of three years with $50,000 per year in operating costs per year. The firm's marginal federal-plus-state tax rate is 25 percent. (3 year Project – Find cash flows for 3 years)

If the project’s cost of capital is 12 percent, find the all cash flows, NPV and MIRR for the project ?

In: Finance

lithium fluoride (LiF) has a density of 2.635 g/cm^3 and the same crystal structure as NaCl....

lithium fluoride (LiF) has a density of 2.635 g/cm^3 and the same crystal structure as NaCl. Lithium has a mass of 6.941 amu and Fluorine has a mass of 18.9984903 amu. amu means atomic mass unit which is 1.66x10^-27 kg.

> what is the average spacing between adjacent atoms in LiF crystal?

In: Physics