subject

You are given an input file rates. txt with the following sample data: NewYork Delhi 1.99 2.00 0.45 NewYork London 1.50 1.75 0.35 Chicago Bombay 1.99 2.00 0.45 Chicago Bangkok 1.75 1.95 0.40 Each input line consists of the city from where the call is placed, the city to which the call is placed, the connection fee, amount for the first three minutes, and the amount for every additional minute after the first three minutes. Write a program that calculates the amount for a call placed for 15 minutes, 30 minutes, 45 minutes, and 1 hour (60 minutes), and stores it in an output file called a05output. txt. g

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
You know the right answer?
You are given an input file rates. txt with the following sample data: NewYork Delhi 1.99 2.00 0.45...
Questions
question
Mathematics, 18.09.2019 04:30
question
English, 18.09.2019 04:30
question
Mathematics, 18.09.2019 04:30
question
Mathematics, 18.09.2019 04:30
Questions on the website: 13722360