文件名称:Exception
介绍说明--下载内容来自于网络,使用问题请自行百度
1.输入若干整数,并求和,直到结束标志999为止。在输入过程中,自动忽略掉输入的非整数型。
2.修改以上程序,通过对负数输入产生异常的方式,对输入的负数不进行累加运算。
-1. Enter the number of integers, and the sum until the end flag 999 so far. During input, automatically ignore the non-integer input off. 2. Modify the above program, by way of an exception to the negative input, negative input not accumulate operations.
2.修改以上程序,通过对负数输入产生异常的方式,对输入的负数不进行累加运算。
-1. Enter the number of integers, and the sum until the end flag 999 so far. During input, automatically ignore the non-integer input off. 2. Modify the above program, by way of an exception to the negative input, negative input not accumulate operations.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Exception.java
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
