- 博客(2)
- 收藏
- 关注
原创 相差为2的两个素数称为孪生素数
哎,随便看看,互帮互助嘛#include <stdio.h>#include <math.h>int Prime(int n);//定义函数,判断是否为素数。+ int main(){ long begin, end, i, j;//定义变量 printf("Please input begin and end(begin>2):"); scanf("%ld,%ld", &begin, &end);
2021-12-20 23:01:42
5763
原创 输入10个整数,求其中正数的个数及平均值,精确到小数点后两位。 **输入格式要求:“%d“ 提示信息:“Input integer:“ **输出格式要求:“Plus number:%d,averag
输入10个整数,求其中正数的个数及平均值,精确到小数点后两位。**输入格式要求:"%d" 提示信息:"Input integer:"**输出格式要求:"Plus number:%d,average value:%.2f" "Plus number:0,average value: 0"程序运行示例如下:Input integer:1Input integer:2Input integer:-9Input integer:8Input integer:-3Input integer:3.
2021-11-25 21:16:53
2762
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人