
Read it right next to your computer.
Book version bitter C
#include <stdio.h>
int main(void)
{
int value, rest;
scanf("%d", &value);
rest = value % 2;
if (rest == 0) printf("E");
if (rest == 1) printf("O");
printf("\n");
return 0;
}
if (-1) printf("OK\n");
#include <stdio.h>
int main(void)
{
int year;
printf("西暦yearを入力して下さい:");
scanf("%d", &year);
if (year % 4 == 0) printf("夏季五輪\n");
if (year % 2 == 0 && year % 4 != 0) printf("冬季五輪\n");
if (year % 2 != 0) printf("五輪None\n");
return 0;
}
Learning C language through suffering (Kushi C) is
This is the definitive introduction to the C language.
It systematically explains the basic functions of the C language.
The quality is equal to or higher than commercially available books.