Skip to content
Snippets Groups Projects
Commit 30d4e61b authored by 이장원's avatar 이장원
Browse files

Merge branch 'master' of https://git.ajou.ac.kr/leejangwon/battle_c into master

parents c2bf08c7 3f9dd2bf
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
int main()
{
int a;
fscanf(stdin, "%d", &a);
if (a > 0)
fprintf(stderr, "Error: It is positive\n");
else
fprintf(stderr, "Error: It is negative\n");
fprintf(stdout, "Hello, World %-d\n", a);
return 0;
}
-200
Hello, World -200
Error: It is negative
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment