Question: Write a javascript program in an HTML page that takes three inputs: 1) the number of kids in your party, 2) your budget for buying

Write a javascript program in an HTML page that takes three inputs: 1) the number of kids in your party, 2) your budget for buying balloons, and 3) the price of each balloon, and shows one of these two possible messages: 1) you can buy at least one balloon per kid, or 2) you can not buy at least one balloon per kid. Basically, your program will decide based on your budget and balloon price, whether or not you can buy at least one balloon per kid.

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!