0
Why won't this work?
It comes up with a lot of errors and I don't know how to fix them https://code.sololearn.com/c4EDetob4h5h/?ref=app
2 Respostas
+ 2
First of all. Once you declare a variable. You don't have to mention its type. You declared the double calc at the start, so you don't need to write their type after. Just call "calc", not "double calc".
https://www.sololearn.com/learn/CPlusPlus/1606/
0
Thanks it works now 😁