哪里出错了
#include<stdio,h>void main()
{
int year,leap;
printf("enter year:");
scanf("%d",&year);
if((year%4==0&&year%100!=0)||(year%400==0))
leap=1;
else
leap=0;
if(leap)
printf("%d is ",year);
else
printf("%d is not ",year);
printf("a leap year.\n");
}
不明白是哪里错了,求解
#include <stdio.h>打成逗号啦 哈哈哈标点都能打错? #include<stdio,h>--》#include<stdio.h> claws0n 发表于 2018-7-28 10:42
#include 打成逗号啦
尴尬了,我说怎么回事 feitianqu 发表于 2018-7-28 11:45
哈哈哈标点都能打错?
当我没发这帖子。。。我还以为哪里的思路错了
页:
[1]