Convertor challenge - Code to convert the input in different unit systems with any single input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 24

Convertor challenge - Code to convert the input in different unit systems with any single input

For example If the user knows a value in any single unit of temperature, code should generate the converted values in other units Refer this code https://code.sololearn.com/W6Ctl3xNjkuC/?ref=app

22nd Jan 2018, 4:52 PM
⛎Ⓜ️ €⚡♓
6 Answers
+ 20
@adnan there are 2 cases still missing in the updated code kelvin to farenheit and farenheit to kelvin, may be u can add it. In addition, i suggest if u can use a switch case here...so only 1 input is required. what do you think?
25th Jan 2018, 2:55 AM
⛎Ⓜ️ €⚡♓
+ 18
@adnan nice code but what about Kelvin scale? your code needs to be modified in my opinion... for example what about conversion from farenheit to kelvin or celsius to kelvin and vice versa?
22nd Jan 2018, 7:49 PM
⛎Ⓜ️ €⚡♓
+ 17
@adnan nice work👍
23rd Jan 2018, 6:24 AM
⛎Ⓜ️ €⚡♓
+ 6
yea @umesh i was working on that but then i got confused and left it here .....i will modify it soon 😁😀
22nd Jan 2018, 8:27 PM
adnan
adnan - avatar
+ 6
hey bro added more ....nice idea i will soon make it capable of converting in all temrature units with taking only one input .....maybe you could have a glance for now 😁😁 https://code.sololearn.com/c0oTHKwLIt74/?ref=app
23rd Jan 2018, 5:40 AM
adnan
adnan - avatar
+ 5
https://code.sololearn.com/c0oTHKwLIt74/?ref=app made this code long back
22nd Jan 2018, 7:33 PM
adnan
adnan - avatar