Question: i need help doing this code its in step by step format Wigate Sode Befactor Build Run Iocls Git Window Help rebdtermimitatone-activity? atkage con. Kenzie.tenperatureconversion;

i need help doing this code its in step by step format
i need help doing this code its in step by step format
Wigate Sode Befactor Build Run Iocls Git Window Help rebdtermimitatone-activity? atkage con.
Kenzie.tenperatureconversion; unge. A guvub-charocemibet Wolle class hpplieation t 2 usages 2 gathub-charcom[bet]

Wigate Sode Befactor Build Run Iocls Git Window Help rebdtermimitatone-activity? atkage con. Kenzie.tenperatureconversion; unge. A guvub-charocemibet Wolle class hpplieation t 2 usages 2 gathub-charcom[bet] public static void tenperatureconversion() 11. Prograa - Tenperature converter If II Build sone code which can convert from Fahrenheit to celsius, and atso fron Celolus to Fahrenheit. If Based upon the nethod described here: httpsilliminieathsisfun.con/tepperature-convensionihtenl II II step one: I/ First, ask the user ahat unit they woutd like to convert to. f or C If store their answer in the variable convertTolinichtype beton. 11 String convertionnich Type ==; 11 Then, ask the user ehat teaperature vatue they nould tike to convert. II Store the ansaer to the variable teaperaturetocoavent belon. The user aay enter decinal volues so the data thpe shoutd be doub If couble teaperaturetoconvert =0.0 Il step Tao: Il Non, one of two things need to happen. te Sode Befactor Build Run Iools Git Window Help feteltermlemieatont-activayl onMaking TemperatureConversion are main java com kensie temperatureconversion CPAplication S * S Curre C futureagelapplicationjava co lifetimesupplyapplication // Step Two: /I Now, one of tao things need to happen. 1/ If they entered c, then you need to convert fron fahrenheit to celsius. II othernise, if they entered f then you need to convert from celsius to fanrenheit. Il 11 Create an if statenent to check if they entered c or f. 11 I/ Hint: Renember that they coutd enter a capital or lowercase letter! 1/ check for both. If the unit is equal to o or the unit is equal to C 11 II Hint 2: You don't have to do two if statenents, you could just do an if-else. ll 1/ Step Three: II Now, for both celsius to fahrenheit and for fahrenheit to celsius, do the conversion! II Celsius to Fahrenheit: Multiply 9 , then divide by 5 , then add 32 I/ Fahrenheit to celsius: Subtract 32, then multiply by 5 , then divide by 9 II Store the converted value into the variable naned result below fl double nesult =0.0 I/ step Four: I/ Now print your ansinen II Code Befactor Build Run Iools Git Window Help sebd-term1-milestone-activity1 sionMaling TemperatureConversion sre main java com kensie temperatureconversion \&Aplication d - f futureagelApplication.java C lifetimesupplyAapplicationjava e temperatureconversion LApplication.java 1/ Fahnenheit to celsius: Subtract 32, then nultiply by 5, then divide by 9 1/ Store the converted value into the vartable named result below 1/ double result =0.0; 11 Step Four: 11 Now print your answer 11 1/ "22 degrees C converted to Fahrenheit is 71.6 degrees F " 11 or 11 "71.6 degrees F converted to Celsius 1s 21.9999999999999996 degrees C" 11 II Note that some of your numbers may have nany decimal places! I/ Like 76.266666666667, that's perfectly fine! You can leave those as is. 3 no usages 2 github-classioom[bot] public static void main(string [] args) \{temperotureConversion(); }

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!