Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with C++ PG. I have started this program; the starter code is below. Here is a begun-program outline. #include using namespace std; const

Need help with C++ PG.

image text in transcribed

I have started this program; the starter code is below.

Here is a begun-program outline.

#include using namespace std;

const int BASE_FEE = 100; const int MID_FEE = 80; const int TOP_FEE = 60;

int main() {

double feePerPerson = 0; int personsRegistered;

cout > personsRegistered;

//Calculate and output - your code here

return 0;

}

Range Routine Task 6 Falcon Seminars wants a program that displays the amount of money a company owes for a seminar. The fee per person is based on the number of people the company registers Number of Registrants 1 through 4 Fee per person $100 $80 11 or more For example, if the company registers 7 people, they owe 7 * 80 $560. If the user enters a number that is less than or equal to 0, the program should display an appropriate error message. I have started this program and the outline is in the Task 6 information. Test run cases: How many tests MINIMUM are required to show that all of your ranges are defined correctly? At their boundaries? (l think it can be done with 6...or 7) ANSWER IN THE TASK 6 textbox -> what do you think the partitions are and how do you suggest testing them? Attach your code and at least 3 test runs to Task 6

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

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

3. What are the current trends in computer hardware platforms?

Answered: 1 week ago