1.

WAP to enter any no. and print the second largest digit in it using java. eg. 2345 , second largest digit is 4​

Answer» ANSWER is in the attachment.

I have used Scanner class for INPUT of a VALUE from USER.



Discussion

No Comment Found