Question: This code is for C++. It's just a madlib style prompt that fills in the holes of the output with the inputs from cin. Mainly

 This code is for C++. It's just a madlib style prompt

This code is for C++. It's just a madlib style prompt that fills in the holes of the output with the inputs from cin. Mainly having trouble with formatting the output, i have the extraction statements in place.

Your program should first prompt for the following information and store them in variables as the appropriate data type: - The Professor's name as a string - The Student's last name as a string - The name of an illness as a string - A plural noun as a string - An adjective as a string - Another adjective as a string - A random word as a string - Another random word as a string - The name of a city/country as a string - An integer number - A temperature in Fahrenheit as a floating point number to later be converted to Celsius - Another adjective as a string After obtaining all the inputs you will need to do two things: 1. Convert the Fahrenheit temperature to Celsius The formula is Fahrenheit To Celsius C=95(F32) 2. Multiply the integer number by 3 Finally output the results according to the following template. Note that the blue text should be appropriate values from your variables. TemperatureAsC should be the temperature after converting it to Celsius and should always display 2 decimal places. NumberTimes 3 should be the integer number multiplied by 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!