Write a program in java to enter 5 numbers in an array and print the largest and the smallest digit in each number.
Answers
Answered by
0
int smallest=0;
int large=0;
int num;
System.out.println("enter the number");
Scanner input=new Scanner(System.in);
int n=input.nextInt();
I think this is answer of you question
Similar questions