会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
can丶
博客园
首页
新随笔
联系
管理
订阅
2017年10月19日
函数fun的功能是:统计所有小于等于n(n>2)的素数的个数,素数的个数作为函数返回。
摘要: 函数fun的功能是:统计所有小于等于n(n>2)的素数的个数,素数的个数作为函数返回。 #include <stdio.h>int fun(int n){ int i,j, count=0; printf("\nThe prime number between 3 to %d\n", n); for
阅读全文
posted @ 2017-10-19 22:41 can丶
阅读(6026)
评论(0)
推荐(0)
公告