Football - DirtBurglars X C Need help with this Java proble X zy Section 4.36 -...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Football - DirtBurglars X C Need help with this Java proble X zy Section 4.36 - CS 1043: Introdi X Dashboard learn.zybooks.com/zybook/UTULSACS1043Fall2022/chapter/4/section/36 =zyBooks My library > CS 1043: Introduction to Programming and Problem-solving home > 4.36: Lab-7: Build a Formatted Table Number Format currencyFormatter System.out.println(); 11 12 13 14 15 Only show failing tests 1: Compare output System.out.println("Table of monthly payments for a dollar loan amount of "); System.out.println(currency Formatter.format(amt)); System.out.println(); Input Your output Output is nearly correct, but whitespace differs. See highlights below. Special character legend Expected output 100000 Years: 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% = Years: Table of monthly payments for a dollar loan amount of $100,000.00 15 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% 739.69 764.99 790.79 817.08 843.86 871.11 898.83 Number Format.getCurrency Instance(locale); //creating the numb 15 20 605.98 632.65 659.96 687.89 716.43 745.57 775.30 X + 739.69 764.99 790.79 817.08 843.86 871.11 898.83 25 527.84 555.83 584.59 614.09 644.30 675.21 706.78 20 Table of monthly payments for a dollar loan amount of $100,000.00 605.98 632.65 659.96 687.89 716.43 745.57 775.30 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 //printing the formated r 25 Download this submission 527.84 555.83 584.59 614.09 644.30 675.21 706.78 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 0/3 EzyBooks catalog ? Help/FAQ Zane Baker un - Google Search X Content learn.zybooks.com/zybook/UTULSACS1043Fall2022/chapter/4/section/36 =zyBooks My library > CS 1043: Introduction to Programming and Problem-solving home > 4.36: Lab-7: Build a Formatted Table The output is X zy Section 4.36 - CS 1043: Intro X 100000 4.36 Lab-7: Build a Formatted Table Write a program to generate a table of formatted data. When the user inputs a loan amount, the table shows the monthly payments based on the loan duration in years and interest rate on the loan (APR = annual percentage rate). If the user inputs Years: 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% Table of monthly payments for a dollar loan amount of $100,000.00 C IN JAVA | Chegg.com 15 Where tmp 739.69 764.99 790.79 817.08 843.86 871.11 898.83 20 605.98 632.65 659.96 687.89 716.43 745.57 775.30 25 527.84 555.83 584.59 614.09 644.30 675.21 706.78 The loan duration at the top of the table are 15, 20, 25, and 30 years. The interest rates (APR) range from 4.0% to 7.0% in half point increments along the left edge of the table. The formula for the monthly payment on a loan is payment = loanAmount*APR*tmp/ (tmp-1); The APR is a percentage that must be converted to a decimal value: 1% = .01. The number of payments is = years x 12 (there are 12 payments per year). C Chegg Search Math.pow( (1 + APR), numberOfpayments ); Use the formatted print to space the values correctly in the table. Add the left edge and top annotations last. 393258.2710494.qx3zqy7 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 Begin this assignment by generating a table of asterisks in a rectangular grid using a nested for-loop. Adjust the loop parameters to start and stop and increment over the correct values. Use the loop parameter variables to compute the payment. Display the payment in place of the asterisk. C (Cryptography)- Please expla x venables hot seat - Google S x EzyBooks catalog + ? Help/FAQ Zane Baker Football - DirtBurglars X C Need help with this Java proble X zy Section 4.36 - CS 1043: Introdi X Dashboard learn.zybooks.com/zybook/UTULSACS1043Fall2022/chapter/4/section/36 =zyBooks My library > CS 1043: Introduction to Programming and Problem-solving home > 4.36: Lab-7: Build a Formatted Table Number Format currencyFormatter System.out.println(); 11 12 13 14 15 Only show failing tests 1: Compare output System.out.println("Table of monthly payments for a dollar loan amount of "); System.out.println(currency Formatter.format(amt)); System.out.println(); Input Your output Output is nearly correct, but whitespace differs. See highlights below. Special character legend Expected output 100000 Years: 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% = Years: Table of monthly payments for a dollar loan amount of $100,000.00 15 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% 739.69 764.99 790.79 817.08 843.86 871.11 898.83 Number Format.getCurrency Instance(locale); //creating the numb 15 20 605.98 632.65 659.96 687.89 716.43 745.57 775.30 X + 739.69 764.99 790.79 817.08 843.86 871.11 898.83 25 527.84 555.83 584.59 614.09 644.30 675.21 706.78 20 Table of monthly payments for a dollar loan amount of $100,000.00 605.98 632.65 659.96 687.89 716.43 745.57 775.30 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 //printing the formated r 25 Download this submission 527.84 555.83 584.59 614.09 644.30 675.21 706.78 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 0/3 EzyBooks catalog ? Help/FAQ Zane Baker un - Google Search X Content learn.zybooks.com/zybook/UTULSACS1043Fall2022/chapter/4/section/36 =zyBooks My library > CS 1043: Introduction to Programming and Problem-solving home > 4.36: Lab-7: Build a Formatted Table The output is X zy Section 4.36 - CS 1043: Intro X 100000 4.36 Lab-7: Build a Formatted Table Write a program to generate a table of formatted data. When the user inputs a loan amount, the table shows the monthly payments based on the loan duration in years and interest rate on the loan (APR = annual percentage rate). If the user inputs Years: 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% Table of monthly payments for a dollar loan amount of $100,000.00 C IN JAVA | Chegg.com 15 Where tmp 739.69 764.99 790.79 817.08 843.86 871.11 898.83 20 605.98 632.65 659.96 687.89 716.43 745.57 775.30 25 527.84 555.83 584.59 614.09 644.30 675.21 706.78 The loan duration at the top of the table are 15, 20, 25, and 30 years. The interest rates (APR) range from 4.0% to 7.0% in half point increments along the left edge of the table. The formula for the monthly payment on a loan is payment = loanAmount*APR*tmp/ (tmp-1); The APR is a percentage that must be converted to a decimal value: 1% = .01. The number of payments is = years x 12 (there are 12 payments per year). C Chegg Search Math.pow( (1 + APR), numberOfpayments ); Use the formatted print to space the values correctly in the table. Add the left edge and top annotations last. 393258.2710494.qx3zqy7 30 477.42 506.69 536.82 567.79 599.55 632.07 665.30 Begin this assignment by generating a table of asterisks in a rectangular grid using a nested for-loop. Adjust the loop parameters to start and stop and increment over the correct values. Use the loop parameter variables to compute the payment. Display the payment in place of the asterisk. C (Cryptography)- Please expla x venables hot seat - Google S x EzyBooks catalog + ? Help/FAQ Zane Baker
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Create a new file named convert.cpp . In this file, write a program that asks the user for a temperature, then converts that temperature to four ( semi - ) common temperature units. The prompt should...
-
State the SQL code for the following statements 1. Retrieve the salary of every employee 2. Retrieve the total number of employees in the company. 3. Retrieve the total number of employees in the...
-
According to the News Wire "Market Shortage," (a) How large was the market shortage at the Church set price of $0? (b) If the Church had sold the tickets for $100, how would have quantity demanded...
-
Suppose that a comet travels in a parabolic orbit with the sun as its focus. Position a polar coordinate system with the pole at the sun and the axis of the orbit perpendicular to the polar axis....
-
In 1940, the family of Thomas Back entered into an oil-and-gas lease with the Inland Gas Corporation. The lease held that Inland would pay to Backs family 12 cents per thousand cubic feet of gas...
-
Proration of overhead. The Ride-On-Wave Company (ROW) produces a line of non-motorized boats. ROW uses a normal-costing system and allocates manufacturing overhead using direct manufacturing labor...
-
es Initial investment Annual net income Expected life Salvage value Merrill's cost of capital $ 2,100,000 $ 200,000 8 years $ 210,000 Assume straight line depreciation method is used. Required: 10 1....
-
At time t = 0, the baseball player releases a ball with the initial conditions shown in the figure. Determine the quantities r, r, r, , , and , all relative to the x-y coordinate system shown, at...
-
Discuss how can it be so hard to drag rubber across smooth glass if friction is caused by surface roughness? Give detailed answer with examples.
-
What should society do to reduce the possibility of discrimination in the workplace?
-
Create Journal Entries with the following information below. 1) The business pays, in advance for 1 years worth of truck insurance. 2) The owner withdrew $2,000 in cash to make a mortgage payment on...
-
Information on the replacement of the Slurp Machine at Fast Gas follows: Cost Accumulated Depreciation Book Value Market Value Salvage Value (2 yrs) Salvage Value (7 yrs) Operating Expenses per year...
-
Can you elaborate on the intersectionality framework and its significance in understanding the complex interplay of various social categories, such as race, class, and gender, in shaping individuals'...
-
The following information relates to Greenmind Ltd. The equity of Greenmind Ltd on 30 June 2022 was: Share capital (issued at $5, fully paid) $1,500,000 Asset revaluation surplus $1,100,000 Retained...
-
An ideal monatomic gas at 300 K expands adiabatically and reversibly to twice its initial volume. What is the final temperature of the gas? Assume CP= 5R/2 and CV= 3R/2.
-
Record the following selected transactions for March in a two-column journal, identifying each entry by letter: (a) Received $10,000 from Shirley Knowles, owner. (b) Purchased equipment for $35,000,...
-
A workday begins each morning at 8 A. M. in the tax assessors office. The staff is composed of the director, two secretaries, two computer- typists, and three file clerks. Until last year, the office...
-
How does human resource planning relate to organizational planning?
-
The Supreme Court ruled in a five-to-four decision that unions cannot fine employees who resign their union membership during a strike and return to work in violation of union rules. The case...
-
Orvil Companys net profit margin percentage is 4.5%, its total asset turnover is 2.4, and its equity multiplier is 1.5. What is the companys return on equity? a. 2.8% b. 7.2% c. 16.2% d. 10.7%
-
Obtain the most recent annual report or SEC filing 10-K of a publicly traded company that interests you. It may be a local company or it may be a company in an industry that you would like to know...
-
Endless Mountain Company manufactures a single product that is popular with outdoor recreation enthusiasts. The company sells its product to retailers throughout the northeastern quadrant of the...
Study smarter with the SolutionInn App