In 2004, аbоut 2 milliоn persоnаl robots were used in the world.
A student uses аn AI chаtbоt fоr emоtionаl support after a stressful week. The chatbot responds in a conversational and caring way, saying things such as “That sounds really difficult,” “I’m here to help you think through it,” and “You’re not alone in feeling this way.” Even though the student knows the chatbot is not a real person, they begin to feel understood and supported by it. Using concepts from this course to explain why people may react socially and emotionally to AI chatbots.
QUESTION 1- (300 POINTS) IN THE TEXT BOX PROVIDED, write the ENTIRE C++CODING FOR THE FOLLOWING PROGRAM SPECIFICATIONS: The prоgrаm must include: ============ 1- A lооp thаt will аllow for multiple transactions. Using a “do..while” loop, after the program processes the first Animal the program will ask the user if they have another RECORD to process. The prompt question MUST be validated for the answers of 1 or 2 only!! Use a “do..while” loop to validate this input. If they respond with a 1 for yes, the program will repeat. This loop will NOT EXIT until the user responds with a 2 for No to this prompt/question. ===== 2- User input that is Validated as indicated. For each input, a “do..while” loop must be used to validate the input as indicated. 3- Detail Calculations as listed in program specifications. Some of these may require the use of a if..then..else statement. Some formulas may require typecasting of int variables that are used. 4- Detail Output Statements to print the required “detail output specifications” 5- Summary Calculations: (Summary COUNTERS, Summary TOTALS, and Summary AVERAGES): Unconditional summary calculations – that will not require if statements AND.. CONDITIONAL summary calculations – that WILL require if statements 6 - SUMMARY Output Statements to print the required “SUMMARY output specifications” ================================== EXAM- PROGRAM SPECIFICATIONS FOR THIS EXAM - WRITE THE ENTIRE C++CODING - *** Starting with the #include statements !! *** ======================== PART 1- A “DO..WHILE” LOOP .. FOR PROCESSING “MULTIPLE ANIMALS” that will include a prompt that will ask the user if they have another ANIMAL to process (1-yes or 2-no)” ============================================================= PART 2- KNOWN INPUT: (ONLY ONE): tax rate is 9 (no decimal Value ================= PART 3- USER INPUT (FOUR (4) USER INPUT VALUES) (That must be validated using a “do..while” loop) Animal Type (DOG, CAT or HORSE) – non-numeric Number of Nights to Board (1, 4, OR 8) – no decimal value Weight in lbs (1.0 – 1500.0) - decimal value Hair color (RED, BLACK, WHITE, GREY, OTHER) – non-numeric ======================= PART 4- DETAIL CALCULATIONS: (SIX (6) FORMULAS ARE REQUIRED!) all of these values will have a decimal value)- Calculate all values REGARDLESS of if they are PRINTED! Boarding fee – is found by : USE ONE IF ..THEN..ELSE STATEMENT based on the following rule in the table below: 2- Boarding Cost is found by MULTIPLYING the number of nights by the Boarding fee. 3-Grooming Cost – is found by : USE ONE IF ..THEN..ELSE STATEMENT based on the following rule in the table below: 4- Subtotal Amount due is found by adding together the Boarding Cost and the Grooming Cost. 5-Tax amt due is found by FIRST dividing the tax rate by 100.. THEN multiplying this by the Subtotal Amount due. 6-Final Amount due is found by adding together the Subtotal Amount due and the Tax Amount Due. ========================================= PART 5- DETAIL OUTPUT: (Remember in the DETAIL CALC- you MUST Calculate ALL VALUES – EVEN IF THEY ARE NOT PRINTED!!) LINE 1: Animal type is ____ LINE 3: Final Amount due is _____ ============================= PART 6- (LAST PART) SUMMARY OUTPUT / SUMMARY CALCULATIONS: LINE 1: TOTAL Boarding COST for ALL ANIMALS is ____ LINE 2: TOTAL Grooming Cost for.. DOGS ..staying 4 NIGHTS or MORE LINE 3: AVERAGE ..WEIGHT ..for.. RED..HORSES… that…Weigh between 500 – 900 lbs. LINE 4: AVERAGE.. FINAL AMOUNT DUE for .. NON-BLACK..CATS..Weighing under 10 ..staying ONLY 1 NIGHT ====================