The Daily Gazette accepts classified ads in several categories. For most ads, the newspaper charges 10

cents per word for the first 50 words, and 8 cents per word for every word after that. Design the Javascript for a program that accepts data about an ad: customer name, ad category (for example,
Apartment for rent), and number of words. Display all the input data and the price for the ad.