Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write only c code as fast as possible 2. InternetLite Corporation is an Internet service provider that charges customers a flat rate of Tk.

please write only c code as fast as possible
image text in transcribed
2. InternetLite Corporation is an Internet service provider that charges customers a flat rate of Tk. 30.00 for up to 10 hours of connection time. Additional hours are charged Tk4.00 each. Data file: usage.txt has only the information concerning the number of hour different customers have used the service. For instance, customer has used the service for 10hrs, customer 2 for 20hrs, and customer 3 for Ohrs. So usage.txt has the following info: 10 20 9 Read this information from the file and calculate the total charge in each case, then write the result in a new file bill.txt

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

Understand the roles of signs, symbols, and artifacts.

Answered: 1 week ago

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago