Questions
Write a Java program named, MultiTable, (MultiTable.java), with the following tasks: Prompt user to input the...

Write a Java program named, MultiTable, (MultiTable.java), with the following tasks:

  • Prompt user to input the maximum number (as integer)
  • Store a multiplication table for all combinations (with some specific eliminations) of value 0 through the maximum number (being entered) into a 2-D array
  • Write a method named printTable to print out the MulitTable, with the following header,
    • public static void printTable(int[][] multitable)
  • In printTable(), when the value of the MultiTable is an odd number, print out Z
  • Must use System.out.printf() for all output functions
  • Sample output:
Please enter positive max. number:5
    0    0    0    0    0    0
    0    Z    2    Z    4    Z
    0    2    4    6    8   10
    0    Z    6    Z   12    Z
    0    4    8   12   16   20
    0    Z   10    Z   20    Z
  • Sample output:
Please enter positive max. number:11
    0    0    0    0    0    0    0    0    0    0    0    0
    0    Z    2    Z    4    Z    6    Z    8    Z   10    Z
    0    2    4    6    8   10   12   14   16   18   20   22
    0    Z    6    Z   12    Z   18    Z   24    Z   30    Z
    0    4    8   12   16   20   24   28   32   36   40   44
    0    Z   10    Z   20    Z   30    Z   40    Z   50    Z
    0    6   12   18   24   30   36   42   48   54   60   66
    0    Z   14    Z   28    Z   42    Z   56    Z   70    Z
    0    8   16   24   32   40   48   56   64   72   80   88
    0    Z   18    Z   36    Z   54    Z   72    Z   90    Z
    0   10   20   30   40   50   60   70   80   90  100  110
    0    Z   22    Z   44    Z   66    Z   88    Z  110    Z

In: Computer Science

Consider the following data for two independent (not matched) random samples taken from two normal populations....

Consider the following data for two independent (not matched) random samples taken from two normal populations. Sample 1 10 7 13 7 9 8 Sample 2 8 7 8 4 6 9 In the next question you will be asked to develop a confidence interval for the difference between the two population means.

In: Statistics and Probability

1. The Federal Reserve was created in response to a series of bank failures. How is...

1. The Federal Reserve was created in response to a series of bank failures. How is the Fed able to prevent or limit bank failures and bank runs?

2. What is the financial system and what is its purpose in the economy? Please answer it within Macroeconomics class

In: Economics

In a chemical reaction, what is the limiting reactant? Check all that apply. The reactant that...

In a chemical reaction, what is the limiting reactant?

Check all that apply.

The reactant that makes the least amount of product.
The reactant that determines the maximum amount of product that can be formed in a reaction.
The reactant that makes the most amount of product.
The reactant that runs out first.

In: Chemistry

Why was there a run on money market funds at the beginning of the current crisis?...

Why was there a run on money market funds at the beginning of the current crisis? Be sure to describe what the money market is, who buys and sells money market funds, and why this may have been the asset that experienced runs (versus other financial assets).

In: Economics

Leases Six ovens were rented on December 31, with $20,000 charged to rent expense. The lease...

Leases

Six ovens were rented on December 31, with $20,000 charged to rent expense. The lease runs for 6 years with an implicit interest rate of 5%. At the end of the 6 years, Peyton will own them. Make any necessary adjusting entries.

In: Accounting

Kipley Company is a small manufacturing firm located in Pittsburgh, Pennsylvania. The company has a workforce...

  1. Kipley Company is a small manufacturing firm located in Pittsburgh, Pennsylvania. The company has a workforce of both hourly and salaried employees. Each employee is paid for hours actually worked during each week, with the time worked being recorded in quarter-hour increments. The standard workweek consists of 40 hours, with all employees being paid time and one-half for any hours worked beyond the 40 regular hours.

    Wages are paid every Friday, with one week's pay being held back by the company. Assume that the first payday for Kipley Company is January 14 for the workweek ending January 8 (Saturday).

    You are being asked to complete Kipley's Payroll Register for the pay period ending January 8, 20--. Ms. Glenda B. Robey prepares the Time Clerk's Report for each pay period. This along with the Hourly Wage / Salary Report is provided.

    Requirement:

    1. Record the regular hours and the overtime hours worked for each employee, using the time clerk's report as your reference.
    2. Complete the Regular Earnings columns (Rate per Hour and Amount) for hourly employees. For only hourly employees that worked overtime, complete the Overtime Earnings columns (Rate per Hour and Amount).
      For salaried workers, complete the Regular Earnings column and show the hourly overtime rate and earnings only if overtime was worked.
    3. Record the Total Earnings for each employee by adding the Regular Earnings and the Overtime Earnings.

    Hourly Wage / Salary Report

    Hourly Wage / Salary Report

    Kipley's Hourly Wage / Salary Report is provided below, listing each employee's assigned time card number as well as their individual hourly rate or salary.

    Time Card No. Employee Name Hourly Wage or Salary
    11 Fran M. Carson $17.50 per hour
    12 William A. Wilson 17.25 per hour
    13 Harry T. Utley 18.10 per hour
    21 Lawrence R. Fife 17.90 per hour
    22 Lucy K. Smith 19.75 per hour
    31 Gretchen R. Fay 515 per week
    32 Glenda B. Robey 2,700 per month
    33 Thomas K. Schork 3,350 per month
    51 Barbara T. Hardy 2,510 per month
    99 Carson C. Kipley 52,000 per year

    Time Clerk's Report

    Time Clerk's Report

    Ms. Glenda B. Robey prepares the time clerk's report for each pay period. Her report for the first week of operations is given below.

    Note: All employees, except for Carson Kipley, are paid for hours worked beyond 40 at one and one-half times their regular hourly rate of pay.

    TIME CLERK'S REPORT NO. 1
    For Period Ending January 8, 20--
    Employee Time Record Time
    Worked*
    Time
    Lost
    M T W T F S
    11 Fran M. Carson 8 8 8 8 8 40
    12 William A. Wilson 8 8 8 8 8 8 48
    13 Harry T. Utley 8 8 8 8 37½ 2½ hrs. tardy
    21 Lawrence R. Fife 10 10 8 8 10 46
    22 Lucy K. Smith 8 8 8 8 8 40
    31 Gretchen R. Fay 8 8 8 8 8 41¼
    32 Glenda B. Robey 8 8 8 8 8 40
    33 Thomas K. Schork 8 8 8 8 8 40
    51 Barbara T. Hardy 8 8 8 8 8 4 44
    99 Carson C. Kipley 8 8 8 8 8 40

    Payroll Register

    Payroll Register

    This is the first task to completing Kipley Company's payroll register. Complete the steps outlined below:

    1. Record the regular hours and the overtime hours worked for each employee, using the time clerk's report as your reference.
    2. Complete the Regular Earnings columns (Rate per Hour and Amount) for hourly employees. For only hourly employees that worked overtime, complete the Overtime Earnings columns (Rate per Hour and Amount).
      For salaried workers, complete the Regular Earnings column and show the hourly overtime rate and earnings only if overtime was worked.
    3. Record the Total Earnings for each employee by adding the Regular Earnings and the Overtime Earnings.

    If an amount box does not require an entry, leave it blank or enter "0". If required, round your intermediate calculations to the nearest cent and use the rounded amounts in subsequent computations. Round fraction values to the nearest two decimal places, e.g. 1 1/2 to 1.50.

    KIPLEY COMPANY, INC.
    Employee Payroll Register
    For Period Ending January 8, 20 --
    Regular Earnings Overtime Earnings
    Time Card
    No.

    Name
    Marital
    Status

    No.W/H Allow.

    Hours Worked

    Rate per Hour

    Amount

    Hours Worked

    Rate per Hour

    Amount

    Total Earnings
    11 Carson, F. S 1 $ $ $ $ $
    12 Wilson, W. S 0
    13 Utley, H. M 2
    21 Fife, L. M 4
    22 Smith, L. S 2
    31 Fay, G. M 3 ………
    32 Robey, G. M 6 ………
    33 Schork, T. S 1 ………
    51 Hardy, B. M 5 ………
    99 Kipley, C. M 7 ………
    Totals $ ……… ……… $ $

Check My Work

In: Accounting

Consider the three stocks in the following table. Pt represents price at time t, and Qt...

Consider the three stocks in the following table. Pt represents price at time t, and Qt represents shares outstanding at time t. Stock C splits two-for-one in the last period.

P0 Q0 P1 Q1 P2 Q2
A 85 100 90 100 90 100
B 45 200 40 200 40 200
C 90 200 100 200 50 400


a. Calculate the rate of return on a price-weighted index of the three stocks for the first period (t = 0 to t = 1). (Do not round intermediate calculations. Round your answer to 2 decimal places.)




b. What will be the divisor for the price-weighted index in year 2? (Do not round intermediate calculations. Round your answer to 2 decimal places.)



c. Calculate the rate of return of the price-weighted index for the second period (t = 1 to t = 2).

In: Finance

5. Costs in the short run versus in the long run Ike’s Bikes is a major...

5. Costs in the short run versus in the long run

Ike’s Bikes is a major manufacturer of bicycles. Currently, the company produces bikes using only one factory. However, it is considering expanding production to two or even three factories. The following table shows the company’s short-run average total cost (SRATC) each month for various levels of production if it uses one, two, or three factories. (Note: Q equals the total quantity of bikes produced by all factories.)

Number of Factories

Average Total Cost

(Dollars per bike)

Q = 25

Q = 50

Q = 75

Q = 100

Q = 125

Q = 150

1 130 100 80 100 140 200
2 165 120 80 80 120 165
3 200 140 100 80 100 130

Suppose Ike’s Bikes is currently producing 50 bikes per month in its only factory. Its short-run average total cost is $____ per bike.

Suppose Ike’s Bikes is expecting to produce 50 bikes per month for several years. In this case, in the long run, it would choose to produce bikes using ______.

a. one factory

b. two factories

c. three factories

On the following graph, plot the three SRATC curves for Ike’s Bikes from the previous table. Specifically, use the green points (triangle symbol) to plot its SRATC curve if it operates one factory (SRATC1SRATC1); use the purple points (diamond symbol) to plot its SRATC curve if it operates two factories (SRATC2SRATC2); and use the orange points (square symbol) to plot its SRATC curve if it operates three factories (SRATC3SRATC3). Finally, plot the long-run average total cost (LRATC) curve for Ike’s Bikes using the blue points (circle symbol).

Note: Plot your points in the order in which you would like them connected. Line segments will connect the points automatically.

In the following table, indicate whether the long-run average cost curve exhibits economies of scale, constant returns to scale, or diseconomies of scale for each range of bike production.

Range

Economies of Scale

Constant Returns to Scale

Diseconomies of Scale

More than 100 bikes per month
Between 75 and 100 bikes per month
Fewer than 75 bikes per month

In: Economics

What is the level measurement of the following Operational Definitions. i.e., Nominal, Ordinal or Interval level...

What is the level measurement of the following Operational Definitions. i.e., Nominal, Ordinal or Interval level data?

1 The unemployment rates of the 50 states.

2 The region of country in which people were born

3 How frequently people attended religious services in the last two months.

4 The number of employees in different government agencies.

5 The number of times incumbent senators voted the way the president wanted them to vote on key pieces of legislation.

6 The occupation of candidates for public office (i.e. educator, lawyer, farmer, business person).

7 The percent of different corporations’ pretax profit accounted for by overseas sales.

8 Whether people read the daily newspaper every day, almost every day, frequently, occasionally, seldom, or never.

In: Math