Need the java programming code using the following method. OUTPUT Enter the name, id number, 2 quiz
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
OUTPUT "Enter the name, id number, 2 quiz and 2 exam scores." bestQuiz - score= START INPUT name, idNum, q1 q2, e1, 02 bestExam = max q1, q2 letterGrade - max computeRawPercentage e1, e2 bestQuiz, bestExam STOP finalGrade score OUTPUT name, idNum, letterGrade big - n1 max (n1, n2) n1 > n2 return big Fiqure12-4 computeRawPercentage( qscore, escore) big n2 finalScore ((qscore'.4)+ (escore*.6))*100 return finalScore Note: The finalGrade method is not defined here. It must be defined to complete this program. OUTPUT "Enter the name, id number, 2 quiz and 2 exam scores." bestQuiz - score= START INPUT name, idNum, q1 q2, e1, 02 bestExam = max q1, q2 letterGrade - max computeRawPercentage e1, e2 bestQuiz, bestExam STOP finalGrade score OUTPUT name, idNum, letterGrade big - n1 max (n1, n2) n1 > n2 return big Fiqure12-4 computeRawPercentage( qscore, escore) big n2 finalScore ((qscore'.4)+ (escore*.6))*100 return finalScore Note: The finalGrade method is not defined here. It must be defined to complete this program.
Expert Answer:
Answer rating: 100% (QA)
Answer Here is the Java code using the given method import javautilScanner public class StudentGrade... View the full answer
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these programming questions
-
Following are the ledger balances of Titas Pvt. Ltd. as on the date 31 December, 2022. Prepare the Trial Balance using the following balances. Account Name Tk. Bank Overdraft 40,000 Cash 20,000...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
At the beginning of the current season, the ledger of Highland Tennis Shop showed Cash $2,500; Inventory $1,700; and Common Stock $4,200. The following transactions were completed during April. Apr....
-
Consider the physical system of Problem 7.109 la series of water-filled trays heated radiatively), but under operating conditions for which each tray is 0.25 m long by 1 m wide and is uniformly...
-
What does this entry accomplish: debit capital; credit withdrawals?
-
In a large corporate computer network, user log-ons to the system can be modeled as a Poisson process with a mean of 25 log-ons per hour. What is the probability that there are no log-ons in an...
-
Return to the case of the diagnostic scanner discussed in Problems 1 through 6. Suppose the entire $5,200,000 purchase price of the scanner is borrowed. The rate on the loan is 8 percent, and the...
-
Members BC and ABC need a material that can withstand at least 1643 psi. (based on chart provided a. ???Will we be able to use 1018 steel for either members ABC, BD, or both? b. ???If not would cold...
-
AKEI is an elite desk manufacturer. At the start of May 2015, the following budgeted unit amounts (based on a standard costing system) related to its manufacture of executive desks (made out of oak):...
-
The SEC 10-K assignment will consist of research and the completion of a paper on select areas of an annual SEC 10-K report filed by a public company with the U.S. Securities and Exchange Commission...
-
Repeat Problem 56 using your own age. Data from Problem 56 You want to retire at age 65 . You decide to make a deposit to yourself at the end of each year into an account paying 3\%, compounded...
-
Write up the accounts to record the following transactions: 2010 March 1 Started business with 750 cash and 9,000 in the bank. 2 Received a loan of 2,000 from B. Blane by cheque. 3 Bought a computer...
-
Games like Wheel of Fortune and Jeopardy have one winner and two losers. A three-team game tournament is illustrated by Figure 11.8. If Jeopardy has a Tournament of Champions consisting of 27...
-
A culture of bacteria increases by \(100 \%\) every 24 hours. If the original culture contains 1 million bacteria ( \(a_{0}=1\) million), find the number of bacteria present after 10 days.
-
What is an annuity problem?
-
11.Which of the following accounts are debited to recordincrease in balances? a. Assets and Liabilities b. Expenses and Liabilities c. Assets and Expenses d. Drawing and Liabilities 12. Which of the...
-
Let X be a random variable taking on values a1, a2, . . . , pr with probabilities p1, p2, . . . , pr and with E(X) = μ. Define the spread of X as follows: This, like the standard deviation, is a...
-
Modify Problem and Exercise 7-52 so that the list includes the number of products each customer bought in each product line in March 2015.
-
How long had each student studied in the adult literacy program? Based on the relations shown in Figure 6-12. The database tracks an adult literacy program. Tutors complete a certification class...
-
Draw an ERD for the following situation (Batra et al., 1988). Also, develop the list of words for qualifiers and classes that you use to form attribute names. Explain why you chose the words on your...
-
One might naively think that a collection \(\left(X_{t}, t \in \mathbb{R}^{+} ight)\)of independent r.v's may be chosen "measurably," i.e., with the map \[\left(\mathbb{R}^{+} \times \Omega,...
-
Chi-squared Law. A noncentral chi-squared law \(\chi^{2}(\delta, \alpha)\) with \(\delta\) degrees of freedom and noncentrality parameter \(\alpha\) has the density \[\begin{aligned}f(x ; \delta,...
-
If \(X\) is a positive random variable, prove that its negative moments are given by, for \(r>0\) : (a) \(\quad \mathbb{E}\left(X^{-r} ight)=\frac{1}{\Gamma(r)} \int_{0}^{\infty} t^{r-1}...
Study smarter with the SolutionInn App