Why is my code having errors? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is my code having errors?

So the errors are that it’s expecting a ‘)’ somewhere and I can’t for the life of me find it. And also it’s expecting member declaration which is weird cus like, all the members r declared, I think https://code.sololearn.com/cd2E9hkSYfNi/?ref=app

9th Aug 2022, 3:39 PM
StrWrsBoi
StrWrsBoi - avatar
1 Answer
+ 5
There is a weird sign after Double on line 8. For me it looks like this: abstract fun deposit(am: Double)
9th Aug 2022, 3:55 PM
Paul
Paul - avatar