Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1039 :

Posted: Thu May 02, 2024 2:22 am
by agupta108
explain the answer?

Re: About Question enthuware.ocajp.i.v8.2.1039 :

Posted: Thu May 02, 2024 3:31 am
by admin
As the explanation says, the if-else-else construct is invalid. It should be if , else if, else.
If you are not sure about any specific thing about it, let us know.
Please do try to compile and/or run the given code also.