Question: You must use at least two user defined functions to receive credit for this assignment. You are a software developer and your current project is

You must use at least two user defined functions to receive credit for this assignment. You are a software developer and your current project is to implement a software for a pottery painting studio. This studio offers various services with different session fees as listed below: Service Kid's corner Glass fusing Mosaic Canvas painting Ladies' night Session Fee ($) 8.50 12.53 18.37 16.84 23.00 The program prompts user to enter the number of sessions for each service and reads the fees from an input text file named "fee.txt". The program will calculate the total earnings based on the session fee and number of sessions of service. Design an algorithm and write a C++ program that includes two functions as follow: 1. A void function to prompt the user to input the following: Number of kid's corner sessions sold Number of glass fusing sessions sold Number of mosaic sessions sold Number of canvas painting sessions sold Number of ladies' night sessions sold The program validates the user's input. The number of sessions must be greater than or equal to zero 2. A value returning function that calculates and returns the earnings for the pottery painting, studio. The program will output the results to the screen as illustrated in the sample runs bellow. 8.50 12.53 18.37 23.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
