COSC 326 Practical JavaScript 1
COSC 326 Practical JavaScript 1
2. Write a JavaScript program to find the area of a circle where radius is keyed in by the
user.
3. A sales person for a mobile handset selling company, earns a basic salary of 20,000 a
commission of 2% for all total sales for the months and a bonus of 30 for every handset
sold during the month. Write a JavaScript program to calculate the gross salary for a
worker at the end of the month when the number of handsets sold is keyed in.
Write a JavaScript program to accept the county number. The program should then
display the county name and governor based on the number entered