Question: Question number 13 Java Programming Write a program that asks the user to enter aie, water, of seel, and the distance tost a sound ware

Question number 13 Java Programming Question number 13 Java Programming Write a program that asks the user

Write a program that asks the user to enter "aie", "water", of "seel", and the distance tost a sound ware will travel in the medium. The propram should ther display the aninant of time it will take. You can calculate the amouns of time is takes sound ro travel iti ilie wee the following formulia: Time = Distanzedi,109 You call calculate the a mount of time it takes sound to travel in water with ther atwitg formula: Tame-Disianceit,910 You san calculate the amount of time it bakes sound to travel in steel with this Wiowing tormula: Timic=Distancesifi,400 13. Mobile Service Provider A motaile plone serviee provider bis three different subacription packages for its custrmete. Package .4: For 539.99 per meeth, 451 minures are provided. Additional minures are 50.45 per miaute lack age B: For $59.99 per manth, 950 munates are provided. Additional minute a e so, 40 pe mition. Package C: For 899.99 per manh, valimited manares are provided. Write a propgatm thar calcalates a custimer's twonthly till. It should ask the user to enter il: leter of the package the customer has purchasod (A,B, or 6, and the number of minutes that were used. The propram should display the total charges. 14. Mobile Service Provider, Part 2 Modity the program yoa wrote for Progesamning Challenge 13so it also cakulates and displays the amount of ananey lackage A castnaiers would save if they purchased Padkane b or C, and the amoens of money Package B castmoers would save if they purchased liackage C If there woeld he no savings, no message should be pointed

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!