Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Experience with SharePoint and/or Microsoft Project desirable

Answered: 1 week ago

Question

Knowledge of process documentation (process flow charting)

Answered: 1 week ago