编写一个程序,计算s=1!+2!+…..+10!

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 04:59:06
编写一个程序,计算s=1!+2!+…..+10!
x){gӶOv4<ٱu^[|b[CEm#EG mIQ_`gCI9 9 !% %%@,?3E!713O#(3/=:V!(X83DXVr !ܴ" PB~qAbȵ»q

编写一个程序,计算s=1!+2!+…..+10!
编写一个程序,计算s=1!+2!+…..+10!

编写一个程序,计算s=1!+2!+…..+10!
public class Test {
public static void main(String[] args) {
int s = 0;
int n = 1;
for(int i=0; i