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 Answers
+ 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