importjava.util.Scanner;publicclassShowDeffrentDigit{publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstubScannerinput=newScanner(System.in);System.out.print(...
import java.util.Scanner;public class ShowDeffrentDigit {public static void main(String[] args) {// TODO Auto-generated method stub Scanner input=new Scanner(System.in); System.out.print("Enter ten numbers:"); int[] numbers=new int[10]; for(int i=0;i<10;i++){ numbers[i]=input.nextInt(); } int z=10; for(int i=0;i
展开