Question: 1,2 and 8 1. Write a program that converts degrees from Fahrenheit to the formula Solving a conversion problem using DegreesC = 5(DegreesF-32)/9 Prompt the

1,2 and 8  1,2 and 8 1. Write a program that converts degrees from
Fahrenheit to the formula Solving a conversion problem using DegreesC = 5(DegreesF-32)/9

1. Write a program that converts degrees from Fahrenheit to the formula Solving a conversion problem using DegreesC = 5(DegreesF-32)/9 Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. Then have the program display the equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be Enter a temperature in degrees Fahrenheit: 72 72 degrees Fahrenheit is 22.2 degrees Celsius 2. Write a program that reads a line of text and then displays the line, but with the first occurrence of hate changed to love. For example, a possible sample dialogue might be Enter a line of text. I hate you I have rephrased that line to read: I love you You can as hate occurs sume that the word hate occurs in the input. If the word morethan once in the line, your program will rplace onlyitsfist ocqurends m will replace only its first occurrence 1. Write a program that converts degrees from Fahrenheit to the formula Solving a conversion problem using DegreesC = 5(DegreesF-32)/9 Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. Then have the program display the equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be Enter a temperature in degrees Fahrenheit: 72 72 degrees Fahrenheit is 22.2 degrees Celsius 2. Write a program that reads a line of text and then displays the line, but with the first occurrence of hate changed to love. For example, a possible sample dialogue might be Enter a line of text. I hate you I have rephrased that line to read: I love you You can as hate occurs sume that the word hate occurs in the input. If the word morethan once in the line, your program will rplace onlyitsfist ocqurends m will replace only its first occurrence

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!