#include<stdio.h>
int main()
{
int i0;
int j0;int count0;
for(i100;i<999;i)
{int flag1;//flag默认为1,1为素数for(j2;j<i;j){if(i%j0)//说明能被除尽,不是素数flag0;}if(flag1)//n为1,说明是素数{count;}}
printf("%d",coun…
欢迎关注WX公众号:【程序员管小亮】
plt.subplot()函数用于直接指定划分方式和位置进行绘图。 M A T L A B MATLAB MATLAB和 p y p l o t pyplot pyplot有当前的图形( f i g u r e figure figure)和当前的轴( a x e s axes axes&…