How do I modify my code.
Please leave your comments on gist.
Sorry I don’t understand your question. Need help with something in your code? Your code formatting makes it slightly hard to read, and there are some syntax issues with the brackets.
Thanks for your reply.
Yes, I want to solve my syntax issues with the brackets.
But I don’t know how to do that.
You have some illegal characters in there, unicode character code 3000
https://www.fileformat.info/info/unicode/char/3000/index.htm
And your java compiler probably tells you this!
In some places, you’re ending the class before writing the methods:
Check everywhere carefully for misplaced brackets like this.
Thanks for your reply.
I follow your advice.
Thanks for your reply.
I follow your advice.
Yet, it may a little dififcult for me.
You need to declare your instance variables. Under your class at the top write in ‘int a; int b;’ and that should do it.
public class calculator{
int a;
int b;