Computer Science, asked by abhishek78905, 7 months ago

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

Answers

Answered by stunwolf
1

Your answer is in the attachment.

I have used Scanner class for Input of a value from user.

Attachments:
Similar questions