reate a program using classes to be used to generate a monthly phone bill for a telephone company (for example BellSouth look at your bill), according to the specs given below. More details to be explained in class. Each phone call (entry) stores a string (phone number), a character and a real number. (d: domestic, i: international), an amount (cost of the call) an integer representing the frequency of number. This is to be implemented as a class The file [url removed, login to view] contains the phone calls for a particular month. 305-348-1010 d .20 33-04-04-16-14 i 1.27 305-348-1010 d .50 315-731-7176 d 1.07 714-111-0101 d 5.00 33-04-04-16-14 i 9.70 954-111-1717 d .70 630-231-6193 d 2.50 210-450-8990 d .81 251-41-89-00 i 17.45 305-348-2744 d .20 305-348-2100 d .35 315-731-7176 d .78 305-348-2744 d .15 5-56-78-89-01 i 3.13 int modifyFreq(); //Modifier: updates frequency string callNumber(); //Accessor: return the phone number of an entry char callType();//Accessor: return the call type of an entry double callCost(); //Accessor: return the call cost of an entry int callFrequency(); //Accessor: return the call frequency of an entry void removeAcall() void sortList() void printToFile() Write a class to test the phone class (Remember that you can have (add) more classes and more methods) and answer the following: 1) Use the printToFile to write the content of the original file into an output file called: [url removed, login to view] 2) Display the total amount of the current bill 3) Display the total amount of all international calls 4) Go through the list and remove redundant entries, for example 305-348-1010 has three entries 5) Print the list without the repeat in a file called [url removed, login to view]
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.