public static void main(String[] args) {
Scanner toko = new Scanner(System. in);
int a =toko.nextInt() ;
int b =toko.nextInt() ;
int c =toko.nextInt() ;
int d =toko.nextInt() ;
int e =toko.nextInt() ;
int f =toko.nextInt() ;
int q =toko.nextInt() ;
int w =toko.nextInt() ;
int r =toko.nextInt() ;
int t =toko.nextInt() ;
System.out.prin tln(a+b+c+d+e+f +q+w+r+t);
}
i must print 10 numbers sum and its correct?
Scanner toko = new Scanner(System. in);
int a =toko.nextInt() ;
int b =toko.nextInt() ;
int c =toko.nextInt() ;
int d =toko.nextInt() ;
int e =toko.nextInt() ;
int f =toko.nextInt() ;
int q =toko.nextInt() ;
int w =toko.nextInt() ;
int r =toko.nextInt() ;
int t =toko.nextInt() ;
System.out.prin tln(a+b+c+d+e+f +q+w+r+t);
}
i must print 10 numbers sum and its correct?
Comment