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

2nd Aug 2019, 12:59 PM
coffeecup
coffeecup - avatar
2 ответов
+ 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/
2nd Aug 2019, 2:13 PM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Thanks it works now 😁
3rd Aug 2019, 6:29 AM
coffeecup
coffeecup - avatar