Question: Question 1 2 and 8 t jeeuback 1. Write a program that converts degrees from Fahrenheit to Celsius, using problem the formula DegreesC 5(DegreesF-32)/9 Prompt
t jeeuback 1. Write a program that converts degrees from Fahrenheit to Celsius, using problem the formula DegreesC 5(DegreesF-32)/9 Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. T equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be hen have the program display the 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. hate occurs You can assume that the word hate occurs in the input. Ifthe word more than once in the line, your program will replace only ts fist Occui ram t jeeuback 1. Write a program that converts degrees from Fahrenheit to Celsius, using problem the formula DegreesC 5(DegreesF-32)/9 Prompt the user to enter a temperature in degrees Fahrenheit as a whole number without a fractional part. T equivalent Celsius temperature, including the fractional part to at least one decimal point. A possible dialogue with the user might be hen have the program display the 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. hate occurs You can assume that the word hate occurs in the input. Ifthe word more than once in the line, your program will replace only ts fist Occui ram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
