Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 Session Fee (S) Kid's corner 8.50 Glass fusing 12.53 Mosaic 18.37 Canvas painting 16.84 Ladies' night 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 vold function to prompt the user to input the following Number of wid'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 equat to tero 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. Sample Run: welcome to Pottery Painting studio Enter the number of kid's corner sessions sold: 1 Enter the number of glass fusing sessions sold: 1 Enter the number of mosaic sessions sold: 1 Enter the number of canvas painting sessions sold: 1 Enter the number of ladiese night sessions soldi 1 Total earnings are: $ 79.24 Process returned o (Oxe) execution time I 4.1383 Press any key to continue

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

please dont use chat gpt 9 2 4 . .

Answered: 1 week ago