亲,您好!这个问题我来帮您解决哦 ~基础操作#include #include #include int main(void)//判断素数只有除以2到根号本身{int i; /*外循环*/int j; /*内循环*/int flag, count = 0; /*素数标志,flag为1则此数为素数*/flag = 0;for (i = 3; i <= 50; i++){j = 2;flag = 1...
n++) //1-5循环5次,n会++ 4*5=20次{if (n%5 == 0) printf ("\n"); //逢5个换一次行printf ("%d\t",i*j); }printf ("\n");