All fixed then?
Type: Posts; User: GregBrannon
All fixed then?
The error message is clear. The Arithmetic() constructor requires a String argument, the main() method you wrote calls Arithmetic() with no argument. Again, this error is one you should have seen...
After 30-40 hours of instruction, you should know how to add methods to a class, especially the main() method. It looks like you haven't been paying attention. Refer to your notes, your textbook,...
What are you struggling with? If you're getting errors, post them. If your outputs are not correct, show a sample run and describe how the results are not correct. There's no struggle there, just...
Provide a sample run. Either copy and paste the result from your own console or type out something like:
Enter this:
Got this:
Should be this:
Whichever approach you choose, be sure to...
Welcome! Please read this topic to learn how to post code correctly and other useful info for new members.