Computers and Technology, 04.07.2019 13:40, omojay1257
Write a program that calculates the cost of a phone call. the user enters a positive integer that indicates the length of the call. the first two minutes of a phone call cost a flat $1.50. minutes 3 to 10 cost 50 cents each. each minute after 10 costs 25 cents each. for example: how many minutes is the call? 13 a 13 minute call costs 6.25 my code so far: import java. util. scanner; public class third { public static void main (string[]args) { scanner num = new scanner (system. in); system. out. println("enter number of minutes"); int x = num. nextint(); i have gotten this far but im not sure what the rest is and how i would create the code for adding minutes. i know it has to do with final but not sure where to start.
Answers: 1
Computers and Technology, 02.10.2019 00:00, Schoolworkspace453
Answers: 2
Computers and Technology, 06.10.2019 04:00, 153536
Answers: 3
Computers and Technology, 06.10.2019 09:02, mansnothot316
Answers: 2
Computers and Technology, 14.10.2019 22:30, mercedes73
Answers: 3
Write a program that calculates the cost of a phone call. the user enters a positive integer that in...
Mathematics, 13.04.2021 23:30
Mathematics, 13.04.2021 23:30
Mathematics, 13.04.2021 23:30
Biology, 13.04.2021 23:30