Question: C Programming Question 2 (a) Consider the software development to compute the monthly electric bills of the Electric supply company for its customers. The software
C Programming

Question 2 (a) Consider the software development to compute the monthly electric bills of the Electric supply company for its customers. The software is based on the following specifications: A customer's monthly bill includes number of units consumed at a rate of 0.200 per unit. Units consumption is figured from the latest meter readings. Final bill is adjusted by considering the balance from the previous month's paid bill. An extra 5 is added to the bill if the unpaid previous balance is greater than zero. Design a structure chart for the electric bill software according to the above description. The structure chart should show information passing between the modules. (b) In relation with the software design, discuss the concepts of modular decomposition. (c) What are the advantages of modular decomposition when developing a software using C programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
