Answer to Question #240306 in C++ for adil

Question #240306

write the pseudo-code, flowcharts and code of program in which You have to take the temperature in Celsius from the user and convert it to Fahrenheit.

If the converted temperature is odd, print the temperature in Fahrenheit. If the converted temperature is

even, covert the Fahrenheit temperature to Kelvin and display it on the screen


1
Expert's answer
2021-09-24T04:14:18-0400

PseudoCode:


-       Get the temperature indeg. C from user as T_degC

-        Convert to Fahrenheit as      "T (degF) = \\frac{9}{5} T(deg C) + 32"  

-       IF    T_degF is EVEN,

Then,

Convert T-degF to Kelvin as:    "T (degK) = \\frac{5}{9} (T(degF) - 32) + 273"

-       Display the Temperature        







Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS