Write a Java program called RevenueAdvanced to calculate the
revenue from a sale based on the unit price and quantity of a
product input by the user. (use if and if-else
statements)
• The discount rate is
o 0% for the quantity purchased between 1 and 49 units.
o 10% for the quantity purchased between 50 and 99 units.
o 15% for the quantity purchased between 100 and 149 units.
o 25% for the quantity purchased greater than or equal150
units.
New: Catch any invalid inputs as the following, if so, output a
warning message and end the program.
o Employee Number: should be nine digits, no zero leading,
non-negative, and no decimal points.
o Item Price: should be within the range [0.25, 100], and
non-negative.
o Quantity: non-negative, and no decimal points.
Demo (1) a successful run:
Welcome to "Temple" store
Enter item price: 10
Enter quantity: 60
The item price is: $10.0
The order is: 60 item(s)
The cost is: $600.0
The discount is: 10.0%
The discount amount is: $60.0
The total is: $540.0
Thank You for using "Temple" store
Demo (2) a failed run:
Welcome to "Temple" store
Enter item price: -30
This is not a valid item price.
Please run the program again
Thank You for using "Temple" store
Demo (3) another failed run:
Welcome to "Temple" store
Enter item price: 10
Enter quantity: -90
This is not a valid quantity order.
Please run the program again
Thank You for using "Temple" store
In: Computer Science
The following data show the annual revenue ($ millions) and the estimated team value ($ millions) for the 30 Major League Baseball teams (Forbes website, January 16, 2014).
|
Team |
Revenue ($ millions) |
Value ($ millions) |
|---|---|---|
|
Arizona Diamondbacks |
195 |
584 |
|
Atlanta Braves |
225 |
629 |
|
Baltimore Orioles |
206 |
618 |
|
Boston Red Sox |
336 |
1312 |
|
Chicago Cubs |
274 |
1000 |
|
Chicago White Sox |
216 |
692 |
|
Cincinnati Reds |
202 |
546 |
|
Cleveland Indians |
186 |
559 |
|
Colorado Rockies |
199 |
537 |
|
Detroit Tigers |
238 |
643 |
|
Houston Astros |
196 |
626 |
|
Kansas City Royals |
169 |
457 |
|
Los Angeles Angels of Anaheim |
239 |
718 |
|
Los Angeles Dodgers |
245 |
1615 |
|
Miami Marlins |
195 |
520 |
|
Milwaukee Brewers |
201 |
562 |
|
Minnesota Twins |
214 |
578 |
|
New York Mets |
232 |
811 |
|
New York Yankees |
471 |
2300 |
|
Oakland Athletics |
173 |
468 |
|
Philadelphia Phillies |
279 |
893 |
|
Pittsburgh Pirates |
178 |
479 |
|
San Diego Padres |
189 |
600 |
|
San Francisco Giants |
262 |
786 |
|
Seattle Mariners |
215 |
644 |
|
St. Louis Cardinals |
239 |
716 |
|
Tampa Bay Rays |
167 |
451 |
|
Texas Rangers |
239 |
764 |
|
Toronto Blue Jays |
203 |
568 |
|
Washington Nationals |
225 |
631 |
1. Write the regression equation.
2. Interpret the regression constant and regression coefficient.
3. Forecast a value for the dependent variable, test the significance of the regression coefficient at an alpha level of .05. Test the overall significance of the regression model, and Interpret the coefficient of determination.
5. Are there any indications of violations of the general linear model? You must address each assumption separately and explain.
In: Math
The marginal revenue for x of a certain industrial machine is R'(x) = 5,000 - 8x2 dollars per year and the marginal cost of the industrial machines is C'(t) = 3,500 + 13x2 dollars per year.
1. Find the Marginal Profit for 4 industrial machines. Interpret MP(4) in economic terms.
2. Sketch a graph of the marginal profit function. Carefully label the function and the y intercept. Meaningfully label the x and y axes.
3. On the above graph, shade the area that represents the profit generated from the production and sale of from 7 to 20 industrial machines.
4. In the space below, give the definite integral for the shaded region and interpret what your shading represents (Don’t forget to use appropriate units.)
5. Give and solve (using the Fundamental Theorem of Calculus) the definite integral that represents the profit from the production and sale of from 7 to 20 industrial machines.
6. The profit from the production and sale of 1 industrial machine is $25,000. What is the general profit equation for the industrial machines? How much will the company profit from the production and sale of 3 industrial machines?
In: Economics
The adjusted trial balance of
AltaAlta
Corporation at December 31 shows that sales revenue for the year was
$ 550 comma 000$550,000
and other revenue was
$ 49 comma 000$49,000.
Cost of goods sold for that same period was
$ 305 comma 000$305,000,
while other expenses totaled
$ 210 comma 000$210,000.
The corporation declared and paid dividends of
$ 20 comma 000$20,000
during the year. The balance of retained earnings before closing entries was
$ 460 comma 000$460,000.
Read the requirements
LOADING...
.
1. Prepare the closing entries for revenues, expenses, and dividends for the year. (Record debits first, then credits. Exclude explanations from any journal entries.)
Begin by recording the entry to close out the revenue accounts.
|
Journal Entry |
||||
|
Date |
Accounts |
Debit |
Credit |
|
|
Dec |
31 |
|||
Close out the expense accounts.
|
Journal Entry |
||||
|
Date |
Accounts |
Debit |
Credit |
|
|
Dec |
31 |
|||
Close out the Dividends account.
|
Journal Entry |
||||
|
Date |
Accounts |
Debit |
Credit |
|
|
Dec |
31 |
|||
2. What was net income for the year?
Select the formula and enter the amounts to determine net income for the year.
|
- |
= |
Net Income |
||
|
- |
= |
3. What is the ending balance of retained earnings after the closing entries are posted?
Select the formula and enter the amounts to determine the ending balance of retained earnings after the closing entries are posted.
|
Ending Retained |
||||||
|
+ |
- |
= |
Earnings |
|||
|
+ |
- |
= |
Choose from any list or enter any number in the input fields and then continue to the next question.
In: Accounting
Chapter 21: Operational Finance and Budgeting
6. The Sarbanes Oxley Act of 2002 created which of the following
Chapter 22: Underwriting and Rating Functions
1.?___ involves gathering information about applicants or groups of applicants to determine an adequate, competitive, and equitable rate at which to insure them.
A.?Adjusting
B.?Underwriting
C.?Rating
D.?None of the above
2.?___ involves calculating the premium to be charged for a specific individual or group on the basis of information gathered during the ___ process.
A.?Rating, Underwriting
B.?Underwriting, Rating
C.?Rating, Adjusting
D.?None of the above
3.?The best data source for any health plan is ___ because it implicitly recognizes all the plan-specific characteristics.
A.?Underwriting
B.?Actuarial consulting firms’ data
C.?Experience
D.?All of the above
4.?___ rates are high enough to generate sufficient revenue to cover all claims and other plan expenses and to yield an acceptable return on equity.
A.?Equitable
B.?Adequate
C.?Competitive
D.?None of the above
5.?_ rates will approximate any given group’s costs without an unreasonable amount of cross-subsidization across groups.
A.?Equitable
B.?Adequate
C.?Competitive
D.?None of the above
6. Why is historical persistency an important factor to consider when underwriting?
7. Applicants/groups with poor credit histories may be required to do which of the following?
Chapter 23: Information Systems and EDI for Managed Care Organizations
1.?True or false? MCO rely greatly on information systems to reduce costs and improve service.
2.?True or false? Claims processing is the primary differentiator between health plans in the marketplace.
3.?True or false? The most common form of claims submission is electronic.
4.?True or false? The largest opportunity to improve healthcare utilization, quality, and cost is through proactive and intensive medical and case management leverage medical management software.
Chapter 24: Health Plans and Medicare
In: Operations Management
In: Accounting
| A | B | C | D | E | ||
| Sales Revenue | 40,000 | 75,000 | 580,000 | 35,000 | 55,000 | |
| Cost of Goods Sold | 19,000 | 50,000 | 270,000 | 19,000 | 30,000 | |
| Operating Expenses | 10,000 | 40,000 | 235,000 | 12,000 | 18,000 | |
| Identifiable Assets | 35,000 | 80,000 | 500,000 | 65,000 | 50,000 | |
| After conducting all of the applicable segment tests on the above information | ||||||
| provided, which segments are reportable? | ||||||
In: Accounting
The Unearned Consulting Revenue account has a balance of $261,220 as of December 31, 2015. On May 1, 2015 a client paid CMC $153,000 cash in advance for a 12-month consulting services contract. CMC will earn revenue evenly over this 12-month period. This was the only prepayment received from clients during the entire 2015 fiscal year and recorded with a credit to Unearned Revenue. Of the beginningbalance in Unearned Revenue (i.e. at Jan 1 2015), 65% of the work has now been completed by year end.
What is the Adjusting Journal Entry for this? the 65% is somehow confusing me.
In: Accounting
Revenue Recognition
Using Word or Excel, create a diagram or model that represents the series of criteria found in CON5.
Using Word or Excel, create a diagram or model that represents the process of the revenue recognition process.
Guidance:
Diagram the process of revenue recognition.
Start with the process.
What starts the process?
Think through from the business perspective what happens when you purchase a good or service?
What are the journal entries?
What are the accounts?
What happens to the accounts?
What’s the impact on the financial statements?
Which financial statements?
In: Accounting
LO4 Under the cash basis of accounting, revenue is recorded when it is received in cash, and expenses are recorded when they are paid in cash. Under the accrual basis of accounting, revenue is recorded when earned, even if cash is received at an earlier or a later date, and expenses are recorded when incurred, even if cash is to be paid at an earlier or a later date. Considering the following events, match which month the revenue or expenses would be recorded using the accounting method specified.
Collins Company uses the accrual basis of accounting. Crane prepays cash in November for insurance that covers the following month, December, only.
Emily's Natural Company uses the accrual basis of accounting. Emily’s Natural makes a sale to a customer in June but does not expect payment until September.
Patricia's Printing uses the cash basis of accounting. Patricia’s receives cash from customers in March for services to be performed in June.
Wesley's Travel uses the cash basis of accounting. Wesley prepays cash in January for insurance that covers the following month, February, only.
a)January
b)March
c)June
)December
In: Accounting