def com(n)
for i in 1..(n-1)
if n%i==0
factor=i
end
end
if factor>1
puts "The Number is a Composite Number!"
else
puts "This is not a Composite Number!"
end
end
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
那晚越女说我?