Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

Question

Please code in java and explain as simply as possible, restricting code to the basics such as: String, methods, doubles, etc. Thank You

Use these numbers for the text file refered to in the instructions:

2158415291
316 6
9735415497
168 3
9732419897
251 1
2121418896
632 9
2324415892
321 2
7186415831
395 5
8569415899
192 3
6093415497
365 4
9085384493
174 1
2018415846
42 5

[画像:You will be producing a list of phone calls with their associated costs. The data consists of the phone number, the number of seconds of the call and the call billing type. The chart below gives you the call code, call type and cost per minute. Call are charged for full minutes if they extend 6 seconds into the next minute. For example a call lasting 306 seconds will be billed for 5 minutes, whereas a call lasting 307 seconds will be billed for 6 minutes. The report will be formatted in the layout below. The user will have the option to send the report to the screen, to a file or to both. Remember to use a constant to name your input and output files. At the end of the report I want to see a summery with know the total minutes billed, The number with the costliest call (include the cost) and the number with the longest call (include the duration). ]
expand button
Transcribed Image Text:You will be producing a list of phone calls with their associated costs. The data consists of the phone number, the number of seconds of the call and the call billing type. The chart below gives you the call code, call type and cost per minute. Call are charged for full minutes if they extend 6 seconds into the next minute. For example a call lasting 306 seconds will be billed for 5 minutes, whereas a call lasting 307 seconds will be billed for 6 minutes. The report will be formatted in the layout below. The user will have the option to send the report to the screen, to a file or to both. Remember to use a constant to name your input and output files. At the end of the report I want to see a summery with know the total minutes billed, The number with the costliest call (include the cost) and the number with the longest call (include the duration).
Transcribed Image Text:For the follow data record: 2158415291 316 4 The output would be Number Cost Call Type Minutes Seconds 2158415291 5 16 0.09 IntraLATA Call Code Call type Cost per minute 1 Interstate 0.04 2 Intrastate 0.03 3 InterLATA 0.035 LEE 4 intraLATA 0.015 5 Local 0.01 Any other UNKNOWN 0.10
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
    SEE MORE QUESTIONS
    Recommended textbooks for you
    Text book image
    Database System Concepts
    Computer Science
    ISBN:9780078022159
    Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
    Publisher:McGraw-Hill Education
    Text book image
    Starting Out with Python (4th Edition)
    Computer Science
    ISBN:9780134444321
    Author:Tony Gaddis
    Publisher:PEARSON
    Text book image
    Digital Fundamentals (11th Edition)
    Computer Science
    ISBN:9780132737968
    Author:Thomas L. Floyd
    Publisher:PEARSON
    Text book image
    C How to Program (8th Edition)
    Computer Science
    ISBN:9780133976892
    Author:Paul J. Deitel, Harvey Deitel
    Publisher:PEARSON
    Text book image
    Database Systems: Design, Implementation, & Manag...
    Computer Science
    ISBN:9781337627900
    Author:Carlos Coronel, Steven Morris
    Publisher:Cengage Learning
    Text book image
    Programmable Logic Controllers
    Computer Science
    ISBN:9780073373843
    Author:Frank D. Petruzella
    Publisher:McGraw-Hill Education