Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

web design In-class Lab Assignment 7 Create a JavaScript program that will check if the student is eligible to apply for masters Below are steps

web design
image text in transcribed
In-class Lab Assignment 7 Create a JavaScript program that will check if the student is eligible to apply for masters Below are steps you can follow 1. Ask the user for their point score (0-4) 2. Ask the user to enter an operator of either * or/ 3. Ask the user for the number of credit hours 4. Ask the user for the number of courses taken 5. Calculate the total by multiplying point score/ with number of credits 6. Calculate the average by dividing number of credits with point score 7. Use an if statement to print if the operator chosen is * to print "your total score is" and if it is / then "your average score is". Remember to print their score with this statement 8. After this create a separate if statement to check their eligibility, if the total is greater than 300 and the courses taken are greater than and equal to 35 , they are eligible. Else print "your score is low

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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