Test Phase Statement
-
Test Phase Statement
Due to the Covid-19 breakout, the “City Hospital” needs to maintain the expenses and budget for its 4 departments. They have to keep record of the expenses report in terms of department wise and month wise too starting from January 2020 to June 2020 in the below format:
You are required to write a program in C/C++ that uses 2-dimensional arrays to store the expenses department wise and month wise too.
a) Department and months names should be stored and displayed using array of string pointers.
b) 2D array that store the expenses should be passed from main to all functions by reference.
c) Your program should also be able to calculate and display based on data i.e. which department will need federal government support if the total expenses are higher than 200,000. -
Idea solution please