Computer Science, asked by president924, 7 months ago

Write a program in java to find the smallest digit of an integer that is input​

Answers

Answered by RaazAnishek
0

Explanation:

Largest and smallest digit of a number

Given a number N. The task is to find the largest and the smallest digit of the number.

Examples :

Input : N = 2346

Output : 6 2

6 is the largest digit and 2 is samllest

Input : N = 5

Output : 5 5

Similar questions