Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question: Current function: C) Optional Extra Credit (+3 pts). Write a function named calcitrGrd_xc that accepts eight scores and returns the corresponding letter grade, A
Question:Current function:
C) Optional Extra Credit (+3 pts). Write a function named calcitrGrd_xc that accepts eight scores and returns the corresponding letter grade, "A" through "F/N". Here's what the function should return: calcFnlPctg_2('125', '135', '10', '90', '90', '90', '90', '90') -> A calcFnlPctg_2('95', '115', '7', '90', '83', '85', '90', '90') -> C calcFnlPctg_2('115', '140', '10', '75', '100', '90', '87', '93') -> B > let calcFnlPctg_2 = function(mt, fnl, xc, p1, p2, 23, 24, p5) { mt = Number(mt); fnl = Number(nl); XC= Number(xc); p1 = Number(p1); p2 = Number(p2); p3 = Number(p3); p4 = Number(p4); p5 = Number(p5); let finalPercentage = 100 * (((mt + fnl + xc) / 300) * 0.7 + ((p1 + p2 + p3 + 24 + p5) / 500) * 0.3); return finalPercentage.toFixed(2); }; calcFnlPctg_2('95', '115', '7', '90', '83', '85', '90', '90'), <. c optional extra credit pts write a function named calcitrgrd_xc that accepts eight scores and returns the corresponding letter grade through here what should return: calcfnlpctg_2> A calcFnlPctg_2('95', '115', '7', '90', '83', '85', '90', '90') -> C calcFnlPctg_2('115', '140', '10', '75', '100', '90', '87', '93') -> B > let calcFnlPctg_2 = function(mt, fnl, xc, p1, p2, 23, 24, p5) { mt = Number(mt); fnl = Number(nl); XC= Number(xc); p1 = Number(p1); p2 = Number(p2); p3 = Number(p3); p4 = Number(p4); p5 = Number(p5); let finalPercentage = 100 * (((mt + fnl + xc) / 300) * 0.7 + ((p1 + p2 + p3 + 24 + p5) / 500) * 0.3); return finalPercentage.toFixed(2); }; calcFnlPctg_2('95', '115', '7', '90', '83', '85', '90', '90'), <.>Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started