Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can you get these to work in Java mine won’t run right and start with the page w

ID: 3741275 • Letter: C

Question

Can you get these to work in Java mine won’t run right and start with the page with line 1 please and thanks 617User ine document witet a Esani new Aayame length) 9 for jeo) iHame length 42 1 43 ? arnel Namo length1-pro.npt("Ada seedent "h 44 Examiltxam1 lengthj prompttxam 1 Grade for" NameName length 1 45. Exam/10sam2 length) promptam 2 Grade for" Namel Hame length-1 .1tFinal print out 7 document writelr 48 document writel Name 1 Exam 11 Exam 2eb" 49 for (isO, iName length ) s0. ( 51. document writef"ch Nameli).Exam1) xam20 br 52. 1 53 /seript

Explanation / Answer

Please find the answer below. I have provided comments in the code itself along with the Program execution output is provided at last.

JAVA CLASS :

===========

OUTPUT :

=======

Names : John,Jan,Tom
Names : john,Jan,Tom,Sue,Jack
Exam1 : 89,78,93,68,80
*****************
Name | Exam1
Loop : john | 89
Loop : Jan | 78
Loop : Tom | 93
Loop : Sue | 68
Loop : Jack | 80
*****************
How many elements?6
john | 89
Jan | 78
Tom | 93
Sue | 68
Jack | 80
*****************
Exam 2 Grade john
99
Exam 2 Grade Jan
98
Exam 2 Grade Tom
97
Exam 2 Grade Sue
96
Exam 2 Grade Jack
95
Exam 2 Grade Mary
94
Add Student :
Ram
Exam 1 Grade for Ram
77
Exam 2 Grade for Ram
88
*****************
Name | Exam1 | Exam 2
john | 89 | 99
Jan | 78 | 98
Tom | 93 | 97
Sue | 68 | 96
Jack | 80 | 95
Mary | 73 | 94
Ram | 77 | 88

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote