Why doesn't the toping user choice get stored?
solved
Type: Posts; User: nikki101
Why doesn't the toping user choice get stored?
solved
I am wondering why my code is not working for getting the toppings the user inputs as a number.
I am having trouble with putting together everything. My current program is not rejecting invalid values. For example if the user enters an invalid string like a null string, the output should be set...
Basically I want to access variables of the constructor to do some computations and print out the variables of the constructor.
class one
{
main()
{
something = method()
...
I am not sure if I am using constructors correctly.
I am I think I am using it incorrectly in my getpaymultipler method.
Also how can I display the elements of the constructor individually? When...
Thanks so much for the fast response!
When I attempt to compile, I am getting an error message " Exception in thread "main" java.lang.NoSuchMethodError: main "
Code is below