I try to conversion the temperature from F to C but the code doesn't work!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I try to conversion the temperature from F to C but the code doesn't work!!

https://code.sololearn.com/cUHAg8xsKRAj/?ref=app

14th Nov 2022, 5:45 PM
Alaa
3 Answers
+ 4
When using cin, avoid adding endl. Change cin>>F>>endl; to cin>>F; There are other errors but I hope this helps :)
14th Nov 2022, 5:49 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 3
https://code.sololearn.com/cSh6ohQ2N880/?ref=app endl cannot be initialized it's a predefined object likewise many are there...
14th Nov 2022, 5:51 PM
I am offline
I am offline - avatar
+ 1
14th Nov 2022, 7:42 PM
Alaa