Question: Write a JavaScript function to determine the player rating for Alien Invaders. Ratings are based on the score. Scores under one million rate the gamer
Write a JavaScript function to determine the player rating for Alien Invaders. Ratings are based on the score. Scores under one million rate the gamer as Rookie. Scores less than two million rate the gamer as Fighter Ace and scores of two million or more rate the gamer as Maverick. Input the score and display the rating
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
