Question

QUESTION 7 5 points Save Answer Complete the program below to convert water temperatures from degrees Celsius to degrees FahrQUESTION 6 5 points Save Answer Different types of electromagnetic energy are characterized along a spectrum according to theWrite in coral please

0 0
Add a comment Improve this question Transcribed image text
Answer #1

float temp_c
float temp_f

temp_c = Get next input

temp_f = 9 * 1.0/5 + 32

if temp_f <= 77
Put "Water temperature is"to output
Put temp_f to output
Put "Too cold to swim!" to output
elseif temp_f >= 104
Put "Water temperature is" to output
Put temp_f to output
Put "degrees Fahrenheit\n" to output
Put "Too hot to swim!" to output

else
Put "Water temperature is" to output
Put temp_f to output
Put "degrees Fahrenheit. \n" to output
Put "OK to swim as long as you feel comfortable" to output

########################################################

Give a ThumbsUp if you found this answer Helpful :)
#######################################################

In the Case of multiple questions,we(Experts) should answer only certain number of sub-parts\questions.So kindly ask the remaining sub-parts\questions as a new query. Sorry for the inconvenience caused.

################################################################
............ Still having trouble understanding the answer ? Feel free to ask in the comment section.......

Add a comment
Know the answer?
Add Answer to:
Write in coral please QUESTION 7 5 points Save Answer Complete the program below to convert...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write an interactive Java program, ColorRange.java, which when given a wavelength in nanometers will return the...

    Write an interactive Java program, ColorRange.java, which when given a wavelength in nanometers will return the corresponding color in the visible spectrum. Color Wavelength (nm) Violet 380-450 Blue 451-495 Green 496-570 Yellow 571-590 Orange 591-620 Red 621-750 Task You must implement the following using a suitable decision statement. 1. Use a GUI prompt for the user to enter the wavelength, the wavelength should be of type double. 2. For each range (e.g. 380-450) the number on the left is included...

  • Exercise 5: I was changing 34 around too much that I just made it a separate...

    Exercise 5: I was changing 34 around too much that I just made it a separate exercise. Suppose 310. grams of ethanol (ethyl alcohol) is in an aluminum cup of 90.0 grams. Both of these are at 30.0C. A mass m of ice at - 8.5C is taken from a freezer and added to the alcohol in the cup. The final temperature of all the components is 18.0C. Assuming no heat was lost from the system, calculate the mass m...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT