C语言函数 【问题描述】输入2个正整数m和n(m>1,n<=500),统计并输出m...答:include<stdio.h>int prime(int m) { int i,r; r=1; for ( i=2;i<=m/2;i++ ) if ( m%i==0 ) {r=0;break;} return r;}void main() { int m,n,i,k,s; scanf("%d,%d",&m,&n); k=s=0; for ( i=m;i<=n;i++ ) if ( prime(i) ) { k++; s+=i...