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
CBSE BOARD X,
27 days ago
Math,
27 days ago
English,
27 days ago
Science,
1 month ago
Math,
9 months ago
English,
9 months ago
World Languages,
9 months ago