为什么整数输出出来这么大
#include<stdio.h>int main()
{
int a;
scanf("%d",&a);
if((a!=1)&&(a%2==0))printf("%d is an even number");
else printf("%d is a prime number");
}
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
if((a!=1)&&(a%2==0))printf("%d is an even number",a);
else printf("%d is a prime number",a);
}
页:
[1]