Tmf1414 introduction to programming - calculate total


Project Description

You have to write a C program to develop a Phone services management system. This system will record the customer's information, phone number, date and time to make a call or send a sms and as well as the Internet package that are subscribed. The system needs to calculate and print the bill for each customer by end of the month. The rates are charge as follows:

Service Types

Charges

Remarks

1 PHONE RENTAL

RM20.00

 

PHONE CALL

Call to same operator

RM0.15 per min

0700 to 1900 daily

Call to different operator

RM0.30 Per min

 

Call to same operator

RM0.08 per min

1901 to 0659 daily

Call to different operator

RM0.20 Per min

 

INTERNET PACKAGE

16

RM50 per month

 

4G

RM80 per month

 

SMS

SMS-same Operator

RM0.10 Per sms

 

SMS-different Operator

RM0.20 Per sms

 

Requirements

You need to do the following:

a) Do the calculation based on the rate given above.

The calling charges is based on minute. If call duration is less than 30 seconds, 30% of minute rate will be charged.

Eg. Phone called from same operator, if the calling time is 0705 with the duration of 20seconds (00:00:02), 30%x0.15 = RM0.045 will be charged.

If the calling duration is 30 secondsor more, a minute rate will be charged.

Eg. Phone called from same operator, if the calling time is 0705 with the duration of 40seconds (00:00:40). RM 0.15 will be charged.

b) Prepare bill for each customer every month. A sample bill form is as follows:

1381_Table.jpg

the due date is the lost day of the following month

c) Calculate total charged amount for the company for every month.

You are free to design your input, interface or any related components that your group thinks are necessary to be included in your system.

Your project MUST use the following concept:
- Array
- Pointer
- Characters & Strings
- Formatted Input & Output
- Basic Data Structure
- File Operations

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Tmf1414 introduction to programming - calculate total
Reference No:- TGS01705715

Expected delivery within 24 Hours