Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 13 Java Programming Write a program that asks the user to enter aie, water, of seel, and the distance tost a sound ware will
Question 13 Java Programming
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 pointedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started