+ 1
[Question] Argentina codecoach
Pls why is the following code wrong, got first 4 cases https://code.sololearn.com/c3GPQP27CUEU/?ref=app
9 ответов
+ 2
BRYAND CHE , variable d should be float or double type. Change also line 10 to => d = dollar * 50.0.
+ 2
BRYAND CHE , if you change the things I mentioned everything works.
+ 1
M. M. H. , your code works without errors, but this is a task from code coach and you should consider if it passes all test cases.
+ 1
Think logically to solve it.
0
Hi
i fixed it.
you placed int main() and #include twise.
Hope it helps.
https://code.sololearn.com/coPG4DqIG9X0/?ref=app
0
M. M. H. Thanks but nothing changed
0
but it works for me. look at my code. I commented that part and it works
0
TheWhiteCat thanks, your suggestion worked.
0
Thanks to every other one here