Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programming Language Due:1/30/2018 (before class) Problem: The Sangree Old Folks Home is in deep financial trouble and the owner, old Doc's Sangree, decides to

C++ Programming Language image text in transcribed
image text in transcribed
Due:1/30/2018 (before class) Problem: The Sangree Old Folks Home is in deep financial trouble and the owner, old Doc's Sangree, decides to go on a massive fundraising campaign. The local high school offers to help by sponsoring a dance marathon. Old Doc Sangree would like you to write a program to process the data gathered on the couples who will dance and their sponsors. Input: Every couple that dances is given a unique ID number. Each sponsor is asked how much they are willing to donate for each hour the couple dances and the maximum number of hours they are willing to pay for. Data: ID HRS Rate 0.80 2.00 3.40 2.25 1.00 0.65 1.50 4.00 10.00 4.50 3.75 4.75 141 161 141 132 141 141 161 132 157 a) The first number is the ID number of the couple being sponsored (ID) b) The second number represents the maximum number of hours the sponsor is willing to pay for (HRS) The third number is a real value which gives the dollar per hour amount that the sponsor will donate (RATE). c)

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

Domain Transfer Learning With 3q Data Processing

Authors: Ahmed Atif Hussain

1st Edition

B0CQS1NSHF, 979-8869061805

More Books

Students also viewed these Databases questions

Question

2. Are my sources up to date?

Answered: 1 week ago