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...
-
We recognize service revenue either at one point in time or over a period of time. Explain the rationale for recognizing service revenue using these two approaches.
-
Should business schools actively promote the enrollment of women into their full-time MBA programs? If so, how should they do it? Explain.
-
Moore, Corp., completed the following selected transactions and prepared these adjusting entries during May: Requirements 1.State whether the transaction would increase revenues, decrease revenues,...
-
What moral, ethical, and professional responsibilities did Guy Enright face when he was asked to turn over confidential documents to the individuals who were representing themselves as intelligence...
-
On OCT 31, the stockholders' equity section of MCompany's balance sheet consists of common stock $648,000 and retained earnings $400,000. MCompany is considering the following two courses of action:...
-
You are trying to evaluate whether an existing, idle distillation column can be used for a separation for which it was not originally designed. Answer the following questions about this column: a....
-
In construction industry, any project: 1 point can have no critical path. must have at least one critical path. may have or not have critical path depends on its nature.
-
If the economic incentives \"Covid-19\" happens, explain how to maximize short- and long-term profits, how government can intervene, problem of government intervention and how to deal with it.
-
what extent does syntactical elegance and rhetorical sophistication contribute to establishing a distinct corporate voice and identity in written communications ?
-
Changes in current operating assets and liabilities-indirect method Victor Corporation's comparative balance sheet for current assets and liabilities was as follows: Accounts receivable Inventory...
-
Sherburne Co. information of its Income statement of 2020 includes the following. Sales - $300000, CGS - $100000, S & A exp - $60000 (which includes Depreciation expense of $10000), Tax rate 20%,...
-
Describe a post that includes these components: Observation Go to or describe a public place you have been to and observe the people there for 25 minutes. What are the details of the location?...
-
6. Explain why an electrolytic capacitor may only be connected with the appropriate polarity. Why are electrolytic capacitors available with large capacitance values (compared to other capacitor...
-
At 31 December 20X9, the end of the annual reporting period, the accounts of Huron Company showed the following: a. Sales revenue for 20X9, $ 2,950,000, of which one- quarter was on credit. b....
-
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...
-
Consider observations \(\left(Y_{i t}, X_{i t} ight)\) from the linear panel data model \[ Y_{i t}=X_{i t} \beta_{1}+\alpha_{i}+\lambda_{i} t+u_{i t} \] where \(t=1, \ldots, T ; i=1, \ldots, n ;\)...
-
In a study of the effect on earnings of education using panel data on annual earnings for a large number of workers, a researcher regresses earnings in a given year on age, education, union status,...
-
Suppose a linear probability model yields a predicted value of \(Y\) that is equal to 1.3. Explain why this is nonsensical.
Study smarter with the SolutionInn App