In this assignment you are expected to develop a generic function for iPhone mobile phone to calculate the cost of electric consumption based on the electric meter readings.
The requirements are as follows:
1) An input screen contains:
a. Current meter reading.
b. Service Number of the customer (10 digits alpha numeric).
2) The library should Do the following
a. Record current date and reading values on the device
b. Ä°f previous reading was recorded for the same customer before get and display the last reading and calculate only the difference.