#include <stdio.h>
#include "stdbool.h"
bool IsPrime(int);
void Tra(int n){
//函数功能:把1-n之间的所有素数输出
int i;
for
利用c语言将数字n前的所有素数输出(用户自定义函数,模块化函数功能)
最新推荐文章于 2023-10-16 17:00:47 发布
#include <stdio.h>
#include "stdbool.h"
bool IsPrime(int);
void Tra(int n){
//函数功能:把1-n之间的所有素数输出
int i;
for