Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JavaScript: I cant get my code to display the Letter grade for the following assignment. The code is included below. My assignment is to convert

JavaScript:

I cant get my code to display the Letter grade for the following assignment. The code is included below.

My assignment is to convert number grades to letter grades. It is supposed to provide practice using if statements. To start the application should display a prompt dialog box that gets numbers from 0 to 100. Then it should display an alert dialog box that displays the number grade (Number grade = 95) a new line, and the letter grade (Letter grade = A). Add the JavaScript code for deriving the letter grade and displaying it in in an alert dialog box. Data validation for numbers 0 to 100 and display the starting prompt dialog box, no need for a special error message.

Show letter grade

This page is displayed after the JavaScript is executed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How well do you work in teams?

Answered: 1 week ago