Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Database And Expert Systems Applications 23rd International Conference Dexa 2012 Vienna Austria September 2012 Proceedings Part 1 Lncs 7446

Authors: Stephen W. Liddle ,Klaus-Dieter Schewe ,A Min Tjoa ,Xiaofang Zhou

2012th Edition

3642325998, 978-3642325991

More Books

Students also viewed these Databases questions

Question

How to find if any no. is divisble by 4 or not ?

Answered: 1 week ago

Question

Explain the Pascals Law ?

Answered: 1 week ago

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago