import java.util.*;

public class Example2_1{

   public static void main(String args[]){

           Scanner reader=new Scanner(Syestem.in);

           int m=0;

           int  mul=1;

           while(reader.hasNextInt()){

           int x=reader.nextInt();

           m=m+1;

           mul=mul*x;

           }

         System.out.printf("%d个数的和为%d,m,mul);

    }

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
相关资源
相似解决方案