Write a program the prompts the user for information for three students. For each student prompt...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program the prompts the user for information for three students. For each student prompt for the student ID and three quiz grades. Use a nested loop, where the inner loop prompts for the three quiz grades. Print the student's name and average formatted to two decimal places. View the sample output as a guide. Enter name of student 1: Mary Jones Enter score 1 78 Enter score 2: 90 Enter score 3: 91 Mary Jones 86.33 Name: Average Enter name of student 2: Kevin Smith Enter score 1 90 Enter score 2: 77 Enter score 3: 85 Name Kevin Smith 84.00 Average: Enter name of student 3: Lauri Reiner Enter score 1: 79 Enter score 2 83 Enter score 3: 92 Name: Lauri Reiner 84.67 Average: Write a program the prompts the user for information for three students. For each student prompt for the student ID and three quiz grades. Use a nested loop, where the inner loop prompts for the three quiz grades. Print the student's name and average formatted to two decimal places. View the sample output as a guide. Enter name of student 1: Mary Jones Enter score 1 78 Enter score 2: 90 Enter score 3: 91 Mary Jones 86.33 Name: Average Enter name of student 2: Kevin Smith Enter score 1 90 Enter score 2: 77 Enter score 3: 85 Name Kevin Smith 84.00 Average: Enter name of student 3: Lauri Reiner Enter score 1: 79 Enter score 2 83 Enter score 3: 92 Name: Lauri Reiner 84.67 Average:
Expert Answer:
Answer rating: 100% (QA)
I have written the code in Java Im giving you the main method code below Code public static void ... View the full answer
Related Book For
Accounting for Decision Making and Control
ISBN: 978-0078025747
8th edition
Authors: Jerold Zimmerman
Posted Date:
Students also viewed these programming questions
-
Write a program that prompts the user to enter three strings. Compare the String objects lexicographically and print the middle-valued string. For example, if the three strings were "abcd", "wxyz",...
-
The Taylor Series for the cos(x) assuming x is in radians is: (-1)*. (2k)! cos(x) = 1- 4! k=0 Write a Python program that will: Prompt the user for the units of the angle (degrees or radians) If...
-
Smith Company and Jones Company enter into an interest rate swap, with Smith paying fixed interest to Jones, and Jones paying floating interest to Smith. Smith now goes bankrupt and so defaults on...
-
Identify how balance sheet quality and earnings quality were impaired in each of the following accounting scandals: Waste Management 1988 - Falsely increased the useful lives of long-lived tangible...
-
On December 5, 2013, Super Circuit Store sold gift certificates totaling $4,000. By December 31, 2013, all but $750 worth of these certificates had been redeemed for merchandise. Outstanding...
-
Assume that Vogl stock is priced at $50 per share and pays a dividend of $1 per share. An investor purchases the stock on margin, paying $30 per share and borrowing the remainder from the brokerage...
-
Renkas Heaters selected data for October 2017 are presented here (in millions): Calculate the following costs: 1. Direct materials inventory 10/31/2017 2. Fixed manufacturing overhead costs for...
-
KinderKids provides daycare for children Mondays through Fridays. Its monthly variable costs per child are as follows: Lunch and snacks ................. $ 100 Educational supplies ...................
-
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....
-
I'm not sure which table I need to use, FVAD or FVA or... On September 30, 2021, Ferguson Imports leased a warehouse. Terms of the lease require Ferguson to make 15 annual lease payments of $52,000...
-
Passenger table (passengerid, address etc.) Flight table (flight id, departure, destination, depDate) Booking table (cID, fid, date, cost) a. Find Passengers who live in Chicago b. Total number of...
-
Conduct research through high-quality academic resources available online to critically think through the following questions : Note. please include references and citations if possible 1. What...
-
How do you handle adjustments for prepaid expenses and accrued expenses in the accounting cycle? Explain
-
13. a) Luna Corporation has a beta of 1.5, 10 billion in equity, and 5 billion in debt with an interest rate of 4%. Assume a risk-free rate of 0.5% and a market risk premium of 6%. Calculate the WACC...
-
The Video Homeland: Immigration in America discussed the struggles of enforcing immigration in the U.S. due to inconsistent immigration policies. 1) What is the viewpoint of the Candidate for Kansas...
-
Based on expected production and sales of 36,320 units, a company's flexible budget shows fixed overhead costs of $53,200 and variable overhead costs of $54,480. During the period, the company...
-
Discuss McLuhan's Laws of Media and assess whether it is a viable scientific theory of socio-technological evolution ?
-
The Cholesterol Level data sets give cholesterol levels of heart attack patients. Cholesterol measures are taken 2, 4, and 14 days aft er a patient has suffered a heart attack. Is there a significant...
-
Ricks Bags manufactures both golf bags and tennis totes. Fixed manufacturing overhead is budgeted to be $ 187,200, variable manufacturing overhead is budgeted to be $ 1.10 per direct labor hour, and...
-
Marian Health Care is a large hospital system outside Chicago that offers both hospital (inpatient) and clinic (outpatient) services. It has a centralized admissions office that admits and registers...
-
CJ Equity Partners is a privately held firm that buys small family- owned firms, installs professional managers to run the firms, and then sells them 3 5 years later, often for a substantial profit....
-
Explain the structure, current trends, and future prospects of the banking industry.
-
Banks face several types of risk in day-to-day business. They include: a. Liquidity riskthe risk that customers will demand cash immediately. i. Liability-side liquidity risk arises from deposit...
-
Define the term quality .
Study smarter with the SolutionInn App