Question: Javascript Task 3 (Conditional Constructs) You are required to create an application that calculates the ranking of a senior chess player based on his/her ranking

Javascript

Javascript Task 3 (Conditional Constructs) You are required to create an application

Task 3 (Conditional Constructs) You are required to create an application that calculates the ranking of a senior chess player based on his/her ranking points 1. The application should have two functions: one to calculate the ranking and one to display the ranking. 2. The calculate function should take the players ranking points as a parameter. It should use a switch statement to determine the ranking. It should return the ranking. The ranking system is as follows. Ranking Rating Points Senior master 2400 + National master 2200-2399 Expert 2000-2199 Class A 1800-1999 Class B 1600-1799 3. The display function should call the calculate function, passing the player ranking points as an argument to that function. Example output of the application: Senior Master Save your work as username_jy_tma_task3.js and username_ju_tma_task3.html in a folder called jv_tma_task3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!