0

How to operate / i can't find the problem

https://code.sololearn.com/cdPg1WC9JAQY/?ref=app I think the problem is double

10th Apr 2019, 5:13 AM
êč€ë„현
êč€ë„현 - avatar
1 Answer
0
Yeah, you are right. In line 24 you are trying to use a %d for the output of a double. Use instead %f, which is the correct use for the output of float and double numbers. Another mistake is in line 26. You missed the first quote and the \ before the singole quote. I think it'all, have a nice day!
10th Apr 2019, 5:45 AM
Simone
Simone - avatar