Choose without if or Case | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Choose without if or Case

Hey guys im new in the Programming, i have a problem with my code . I have to combine 3 calculations celsius to fahrenheit, euro to dollar and metres to feet. I need to choose one of them in the menue like in the code but the Problem is im not allowed to use if case or other things only calculations. Could you help me? https://code.sololearn.com/ck7Tg0kuGkqB/?ref=app

22nd Oct 2019, 1:21 PM
Ingo Viehweg
Ingo Viehweg - avatar
1 Answer
0
I tried to solve the problem, this is my result: https://code.sololearn.com/cs2Ecip0ZISx/?ref=app
22nd Oct 2019, 11:08 PM
Isaac Salcedo
Isaac Salcedo - avatar