Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

Students also viewed these Databases questions

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago