#include<stdio.h>
int main(void)
{
int year;
printf("西暦を入力して下さい");
scanf("%d",&year);
switch (year%4){
case0;puts("その年はワールドカップがあります。");break;
default
puts("その年はワールドカップがありません。");break;
}
return 0;
}

今簡単なswitch文書いてみた。
自分で考えてみたけどしょぼいや(´・ω・`)
あってるかな?