Question: C++ Programming Help I need help with a programming assignment that should prompt the user for two arguments first a DECIMAL number and second a

C++ Programming Help

I need help with a programming assignment that should prompt the user for two arguments first a DECIMAL number and second a single letter, either C or F. The decimal represents a temperature, the character represents which system that degree is in (50.0 F would be 50.0 degrees Fahrenheit). This program should take the given number and convert it to a temperature in the OTHER system. The output string format should be degree(s) is equal to degree(s) . Example: input 0 C would give the string 0.0000 degree(s) C is equal to 32.0000 degree(s) F. You can assume that either F or C will be given for input and no need to account for invalid output

ANything Helps!

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!