Create a C++ program that makes use of both concepts i.e. Array of structure and array within the structure by using the following guidelines:
1. Create an Array of 5 Structures of Student Records
2. Each structure must contain: a. An array of Full Name of Student b. Registration Number in proper Format i.e 18-SE-24 c. An array of Marks of 3 subjects d. Display that information of all students in Ascending order using “Name” e. Search a particular student and update its Marks of any particular subject.
In: Computer Science
Start by first: Write the code necessary to accept a date in the format (Alice:November,4,2020) and store it in a structure called birthday. (Define the structure, declare the variable, ask the user for input, and store the values in the structure. The month should be a character array, the day and year should be integers.)
Then, Declare a pointer name bdayptr to the type of structure you defined in the previous question. Have the pointer point to the structure you declared, and using the pointer, update the name to the Queen and day to the 31.
C++ Coding Please. Comment in code if you can. thank you!
In: Computer Science
Problem 21-6
The following facts pertain to a noncancelable lease agreement
between Faldo Leasing Company and Bridgeport Company, a
lessee.
Inception date January 1, 2017
Annual lease payment due at the beginning of
each year, beginning with January 1, 2017
$117,768
Residual value of equipment at end of lease term,
guaranteed by the lessee $50,000
Lease term 6 years
Economic life of leased equipment 6 years
Fair value of asset at January 1, 2017 $556,000
Lessor’s implicit rate 13 %
Lessee’s incremental borrowing rate 13 %
The lessee assumes responsibility for all executory costs, which
are expected to amount to $4,800 per year. The asset will revert to
the lessor at the end of the lease term. The lessee has guaranteed
the lessor a residual value of $50,000. The lessee uses the
straight-line depreciation method for all equipment.
Click here to view factor tables
Prepare an amortization schedule that would be suitable for the
lessee for the lease term. (Round present value factor calculations
to 5 decimal places, e.g. 1.25124 and the final answer to 0 decimal
places e.g. 58,971.)
BRIDGEPORT COMPANY (Lessee)
Lease Amortization Schedule
Date
Annual Lease
Payment Plus GRV
Interest on
Liability
Reduction of Lease
Liability
Lease Liability
1/1/17
$
$
$
$
1/1/17
1/1/18
1/1/19
1/1/20
1/1/21
1/1/22
12/31/22
$
$
$
Prepare all of the journal entries for the lessee for 2017 and
2018 to record the lease agreement, the lease payments, and all
expenses related to this lease. Assume the lessee’s annual
accounting period ends on December 31 and reversing entries are
used when appropriate. All executory costs are paid as incurred.
(Credit account titles are automatically indented when amount is
entered. Do not indent manually. If no entry is required, select
"No Entry" for the account titles and enter 0 for the amounts.
Round answers to 0 decimal places e.g. 58,971.)
Date
Account Titles and Explanation
Debit
Credit
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
(To record the lease.)
(To record first lease payment.)
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
(To record interest.)
(To record depreciation.)
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
(To reverse the December 31 entry.)
(To record the second lease payment.)
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
Jan. 1, 2017
During 2017
Dec. 31, 2017
Jan. 1, 2018
During 2018
Dec. 31, 2018
(To record interest.)
(To record depreciation.)
In: Accounting
Calculate the monthly returns for 08/01/2015 – 08/31/2019 period for
(iii) Chevron:
| Date | Adj Close |
| 8/1/2015 | 67.98351 |
| 9/1/2015 | 67.04664 |
| ######## | 77.24643 |
| ######## | 77.62042 |
| ######## | 77.39832 |
| 1/1/2016 | 74.39566 |
| 2/1/2016 | 71.78875 |
| 3/1/2016 | 83.11975 |
| 4/1/2016 | 89.02702 |
| 5/1/2016 | 87.99893 |
| 6/1/2016 | 92.30142 |
| 7/1/2016 | 90.23226 |
| 8/1/2016 | 88.55934 |
| 9/1/2016 | 91.57452 |
| ######## | 93.20279 |
| ######## | 99.26207 |
| ######## | 105.7736 |
| 1/1/2017 | 100.0671 |
| 2/1/2017 | 101.1006 |
| 3/1/2017 | 97.41397 |
| 4/1/2017 | 96.80608 |
| 5/1/2017 | 93.88468 |
| 6/1/2017 | 95.61873 |
| 7/1/2017 | 100.0729 |
| 8/1/2017 | 98.63402 |
| 9/1/2017 | 108.7711 |
| ######## | 107.2807 |
| ######## | 110.1504 |
| ######## | 116.9746 |
| 1/1/2018 | 117.1241 |
| 2/1/2018 | 104.5755 |
| 3/1/2018 | 107.6171 |
| 4/1/2018 | 118.0636 |
| 5/1/2018 | 117.2992 |
| 6/1/2018 | 120.3496 |
| 7/1/2018 | 120.1973 |
| 8/1/2018 | 112.7629 |
| 9/1/2018 | 117.5152 |
| ######## | 107.2994 |
| ######## | 114.3053 |
| ######## | 105.5726 |
| 1/1/2019 | 111.2593 |
| 2/1/2019 | 116.0435 |
| 3/1/2019 | 120.7387 |
| 4/1/2019 | 117.6805 |
| 5/1/2019 | 111.5936 |
| 6/1/2019 | 123.1738 |
| 7/1/2019 | 121.8573 |
| 8/1/2019 | 116.5222 |
(iv) Intel:
| Date | Adj Close |
| 8/1/2015 | 25.32108 |
| 9/1/2015 | 26.96275 |
| ######## | 30.29062 |
| ######## | 31.10468 |
| ######## | 31.03551 |
| 1/1/2016 | 27.94547 |
| 2/1/2016 | 26.65721 |
| 3/1/2016 | 29.40016 |
| 4/1/2016 | 27.51891 |
| 5/1/2016 | 28.70946 |
| 6/1/2016 | 30.06661 |
| 7/1/2016 | 31.95494 |
| 8/1/2016 | 32.89911 |
| 9/1/2016 | 34.86641 |
| ######## | 32.2064 |
| ######## | 32.04939 |
| ######## | 33.7531 |
| 1/1/2017 | 34.26493 |
| 2/1/2017 | 33.68795 |
| 3/1/2017 | 33.80661 |
| 4/1/2017 | 33.88159 |
| 5/1/2017 | 33.8441 |
| 6/1/2017 | 31.85807 |
| 7/1/2017 | 33.49157 |
| 8/1/2017 | 33.11388 |
| 9/1/2017 | 36.22591 |
| ######## | 43.27512 |
| ######## | 42.65676 |
| ######## | 44.17273 |
| 1/1/2018 | 46.06749 |
| 2/1/2018 | 47.16798 |
| 3/1/2018 | 50.17598 |
| 4/1/2018 | 49.73279 |
| 5/1/2018 | 53.18191 |
| 6/1/2018 | 48.16903 |
| 7/1/2018 | 46.60894 |
| 8/1/2018 | 46.92871 |
| 9/1/2018 | 46.10273 |
| ######## | 45.70302 |
| ######## | 48.07202 |
| ######## | 46.0397 |
| 1/1/2019 | 46.22609 |
| 2/1/2019 | 51.9553 |
| 3/1/2019 | 53.01519 |
| 4/1/2019 | 50.38911 |
| 5/1/2019 | 43.47838 |
| 6/1/2019 | 47.54896 |
| 7/1/2019 | 50.21099 |
| 8/1/2019 | 47.09205 |
(v) Tesla:
| Date | Adj Close |
| 8/1/2015 | 249.06 |
| 9/1/2015 | 248.4 |
| ######## | 206.93 |
| ######## | 230.26 |
| ######## | 240.01 |
| 1/1/2016 | 191.2 |
| 2/1/2016 | 191.93 |
| 3/1/2016 | 229.77 |
| 4/1/2016 | 240.76 |
| 5/1/2016 | 223.23 |
| 6/1/2016 | 212.28 |
| 7/1/2016 | 234.79 |
| 8/1/2016 | 212.01 |
| 9/1/2016 | 204.03 |
| ######## | 197.73 |
| ######## | 189.4 |
| ######## | 213.69 |
| 1/1/2017 | 251.93 |
| 2/1/2017 | 249.99 |
| 3/1/2017 | 278.3 |
| 4/1/2017 | 314.07 |
| 5/1/2017 | 341.01 |
| 6/1/2017 | 361.61 |
| 7/1/2017 | 323.47 |
| 8/1/2017 | 355.9 |
| 9/1/2017 | 341.1 |
| ######## | 331.53 |
| ######## | 308.85 |
| ######## | 311.35 |
| 1/1/2018 | 354.31 |
| 2/1/2018 | 343.06 |
| 3/1/2018 | 266.13 |
| 4/1/2018 | 293.9 |
| 5/1/2018 | 284.73 |
| 6/1/2018 | 342.95 |
| 7/1/2018 | 298.14 |
| 8/1/2018 | 301.66 |
| 9/1/2018 | 264.77 |
| ######## | 337.32 |
| ######## | 350.48 |
| ######## | 332.8 |
| 1/1/2019 | 307.02 |
| 2/1/2019 | 319.88 |
| 3/1/2019 | 279.86 |
| 4/1/2019 | 238.69 |
| 5/1/2019 | 185.16 |
| 6/1/2019 | 223.46 |
| 7/1/2019 | 241.61 |
| 8/1/2019 | 225.61 |
In: Finance
Baci is a well-known lollipops maker in Western Australia and produces lollipops in two size, i.e., regular and large. The company sells their products to convenience stores, fairs, schools for fundraisers and in bulk on the internet. 2018 summer is approaching and Baci is preparing its budget for the December. All Baci’s lollipops are hand-made, mostly out of sugar, and attached to wooden sticks. Expected sales are based on past experience.
Other information for December 2018 is as follows:
Input prices :
Direct materials:
Sugar $0.50 per kg
Sticks $0.30 each
Direct manufacturing labour $8 per direct manufacturing labour hour (DMLH)
Input quantities per unit of output
Regular Large
Direct materials:
Sugar 0.25 kg 0.5 kg
Sticks 1 1
Direct manufacturing labour hour (DMLH) 0.2 hour 0.25 hour
Set-up hours per batch 0.08 hour 0.09 hour
Inventory data for direct materials1
Sugar Sticks
Beginning inventory 125 kg 350
Target ending inventory 240 kg 480
Cost of beginning inventory $64 $105
1: Baci accounts for direct materials using a FIFO cost flow assumption.
Sales and inventory data for finished goods2
Regular Large
Expected sales in units 3,000 1,800
Selling price $3 $4
Target ending inventory in units 300 180
Beginning inventory in units 200 150
Beginning inventory in dollars $500 $474
2: Baci uses a FIFO cost flow assumption for finished goods inventory.
All the lollipops are made in batches of 10. Baci incurs manufacturing overhead cost, and marketing and general administration costs, but customers pay for shipping. Other 3 than manufacturing labour costs, monthly processing costs are very small. Baci uses activity-based costing (ABC) and has classified all overhead costs for December 2018 as follows:
Cost type Denominator activity Rate
Manufacturing:
Set-up Set-up hours $20 per set-up hour
Processing Direct manufacturing labour hour (DMLH) $1.70 per DMLH
Non-manufacturing:
Marketing & general admin Sales revenue 10%
Required 1. Prepare each of the following for December 2018:
(e) Manufacturing overhead cost budgets for processing and set-up activities
(f) Budgeted unit cost of ending finished goods inventory and ending inventories budget
(g) Cost of goods sold budget
(h) Marketing and general administration costs budget
In: Accounting
On November 10, 2017, Singh Electronics began to buy and resell scanners for $47 each. Singh uses the perpetual system to account for inventories. The scanners are covered under a warranty that requires the company to replace any non-working scanner within 90 days. When a scanner is returned, the company simply throws it away and mails a new one from inventory to the customer. The company’s cost for a new scanner is only $27. Singh estimates warranty costs based on 15% of the number of units sold. The following transactions occurred in 2017 and 2018 (ignore GST and PST):
| 2017 | ||
| Nov. | 15 | Sold 4,000 scanners for $188,000 cash. |
| 30 | Recognized warranty expense for November with an adjusting entry. | |
| Dec. | 8 | Replaced 280 scanners that were returned under the warranty. |
| 15 | Sold 6,800 scanners. | |
| 29 | Replaced 66 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for December with an adjusting entry. | |
| 2018 | ||
| Jan. | 14 | Sold 340 scanners. |
| 20 | Replaced 88 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for January with an adjusting entry. |
Required:
1. How much warranty expense should be reported for
November and December 2017?
|
2. How much warranty expense should be reported
for January 2018? (Round your intermediate calculations and
final answer to the nearest whole number.)
3. What is the balance of the estimated warranty
liability as of December 31, 2017?
|
4. What is the balance of the estimated warranty liability as of January 31, 2018?
|
5. Prepare journal entries to record ALL transactions and year-end adjustments (ignore sales taxes).
1.Record the sale of scanners to customers.
2.Record the cost of the November 15 sale.
3.Record the scanner warranty expense and liability at 15% of the units sold.
4.Record the cost of scanner warranty replacements.
5.Record the sale of scanners to customers.
6.Record the cost of the December 15 sale.
7.Record the cost of scanners warranty replacements.
8.Record the scanner warranty expense and liability at 15% of the units sold.
9.Record the sale of scanners to customers.
10.Record the cost of the January 14 sale.
11.Record the cost of scanner warranty replacements.
12.Record the scanner warranty expense and liability at 15% of the units sold.
In: Accounting
On November 10, 2017, Singh Electronics began to buy and resell scanners for $47 each. Singh uses the perpetual system to account for inventories. The scanners are covered under a warranty that requires the company to replace any non-working scanner within 90 days. When a scanner is returned, the company simply throws it away and mails a new one from inventory to the customer. The company’s cost for a new scanner is only $27. Singh estimates warranty costs based on 15% of the number of units sold. The following transactions occurred in 2017 and 2018 (ignore GST and PST):
| 2017 | ||
| Nov. | 15 | Sold 4,000 scanners for $188,000 cash. |
| 30 | Recognized warranty expense for November with an adjusting entry. | |
| Dec. | 8 | Replaced 280 scanners that were returned under the warranty. |
| 15 | Sold 6,800 scanners. | |
| 29 | Replaced 66 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for December with an adjusting entry. | |
| 2018 | ||
| Jan. | 14 | Sold 340 scanners. |
| 20 | Replaced 88 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for January with an adjusting entry. |
Required:
1. How much warranty expense should be reported for
November and December 2017?
|
2. How much warranty expense should be reported
for January 2018? (Round your intermediate calculations and
final answer to the nearest whole number.)
3. What is the balance of the estimated warranty
liability as of December 31, 2017?
|
4. What is the balance of the estimated warranty liability as of January 31, 2018?
|
5. Prepare journal entries to record ALL transactions and year-end adjustments (ignore sales taxes).
1.Record the sale of scanners to customers.
2.Record the cost of the November 15 sale.
3.Record the scanner warranty expense and liability at 15% of the units sold.
4.Record the cost of scanner warranty replacements.
5.Record the sale of scanners to customers.
6.Record the cost of the December 15 sale.
7.Record the cost of scanners warranty replacements.
8.Record the scanner warranty expense and liability at 15% of the units sold.
9.Record the sale of scanners to customers.
10.Record the cost of the January 14 sale.
11.Record the cost of scanner warranty replacements.
12.Record the scanner warranty expense and liability at 15% of the units sold.
In: Accounting
On November 10, 2017, Singh Electronics began to buy and resell
scanners for $47 each. Singh uses the perpetual system to account
for inventories. The scanners are covered under a warranty that
requires the company to replace any non-working scanner within 90
days. When a scanner is returned, the company simply throws it away
and mails a new one from inventory to the customer. The company’s
cost for a new scanner is only $27. Singh estimates warranty costs
based on 15% of the number of units sold. The following
transactions occurred in 2017 and 2018 (ignore GST and
PST):
| 2017 | ||
| Nov. | 15 | Sold 4,000 scanners for $188,000 cash. |
| 30 | Recognized warranty expense for November with an adjusting entry. | |
| Dec. | 8 | Replaced 280 scanners that were returned under the warranty. |
| 15 | Sold 6,800 scanners. | |
| 29 | Replaced 66 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for December with an adjusting entry. | |
| 2018 | ||
| Jan. | 14 | Sold 340 scanners. |
| 20 | Replaced 88 scanners that were returned under the warranty. | |
| 31 | Recognized warranty expense for January with an adjusting entry. |
Required:
1. How much warranty expense should be reported for
November and December 2017?
|
2. How much warranty expense should be reported
for January 2018? (Round your intermediate calculations and
final answer to the nearest whole number.)
3. What is the balance of the estimated warranty
liability as of December 31, 2017?
|
4. What is the balance of the estimated warranty liability as of January 31, 2018?
|
5. Prepare journal entries to record ALL transactions and year-end adjustments (ignore sales taxes).
1.Record the sale of scanners to customers.
2.Record the cost of the November 15 sale.
3.Record the scanner warranty expense and liability at 15% of the units sold.
4.Record the cost of scanner warranty replacements.
5.Record the sale of scanners to customers.
6.Record the cost of the December 15 sale.
7.Record the cost of scanners warranty replacements.
8.Record the scanner warranty expense and liability at 15% of the units sold.
9.Record the sale of scanners to customers.
10.Record the cost of the January 14 sale.
11.Record the cost of scanner warranty replacements.
12.Record the scanner warranty expense and liability at 15% of the units sold.
In: Accounting
6. A plant asset is acquired by a business on January 1, 2016, for $100,000. The asset's estimated residual value is $10,000 and its estimated life is 5 years. Management chooses to use straight-line depreciation.
On January 1, 2018, management revises the total useful life to 8 years and the residual value to $5,000.
Required:
Compute the balance in Accumulated Depreciation on January 1, 2018.
Compute the Depreciation Expense for the year ending December 31, 2018.
Compute the balance in Accumulated Depreciation on December 31, 2018.
Prepare the adjusting journal entry on December 31, 2018 for the year. Omit the explanation.
In: Accounting
Frederick Inc. had the following activities during 2018:
|
Direct materials: |
|
|
Beginning inventory |
$30,000 |
|
Purchases |
122,800 |
|
Ending inventory |
12,200 |
|
Direct manufacturing labour |
24,000 |
|
Manufacturing overhead |
26,000 |
|
Beginning work-in-process inventory |
1,300 |
|
Ending work-in-process inventory |
2,000 |
|
Beginning finished goods inventory |
42,000 |
|
Ending finished goods inventory |
21,000 |
Required:
In: Finance