Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create level_0_C1_1and2 #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rainbowow
Copy link

#include<stdio.h>
main()
{
int a;
scanf("%d",&a);
if(a>0)
{
printf("正数\n");
}
else
if(a==0)
{
printf("非正非负\n");
}
else
{
printf("负数\n");
}
if(a%2==0)
{
printf("偶数\n");
}
else
{
printf("奇数\n");
}
if(a%13==0)
{
printf("13的倍数");
}
else
{
printf("不是13的倍数");
}
}

@luckymark
Copy link
Owner

这里不是写代码的地方,代码请放到文件目录里去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants