Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ pseudocode 3. (15 points) The Zootopia Police Department is recruiting new officers and has come up with an innovative equation to hire. They define

C++ pseudocode

image text in transcribed

3. (15 points) The Zootopia Police Department is recruiting new officers and has come up with an innovative equation to hire. They define hireScore as a weighted sum of agility, strength, and speed. hireScore = 1.8 * agility + 2.16 * strength + 3.24 * speed The candidate for this hiring season are foxes, bunnies, and sloths. Chief Bogo has requested you to write a program that takes in these attributes and process a higreScore for the candidate. The program should provide a menu to choose the anthropomorphic animal. The menu should have the following options: 1. Fox 2. Bunny 3. Sloth 4. Quit Once an animal is selected, the program should ask the two of the characteristics based on the animal 1. For fox, take input for agility and strength 2. For bunny, take input for agility and speed 3. For Sloth, take input for strength and speed Write an algorithm to compute the hireScore based on the inputs using the weighted sum formula. When you compute the hireScore, the third characteristic would be 0. The computed hireScore should be displayed on the screen. The menu will run in a loop, continually offering Bogo four options until he chooses to quit

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions