Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a JavaScript program that does the following: Ask user to enter five grades using prompt. Find how many students failed and how many students
Write a JavaScript program that does the following: Ask user to enter five grades using prompt. Find how many students failed and how many students passed the exam. Grade less than 50 is fail. Print each Grade as h2. Print the result of how many students failed or passed as hl Change the color of hl. The result like the following: - gnment:h.html Fle/Users/Administrator/Desktop/first semester_2021/ Gradel is 99 Grade2 is 35 Grade3 is 68 Gradet is 42 Grade5 is 88 number of students [passed]:3 number of students (failed]:2
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