#include <stdio.h> int main() { int year; printf("enter the year\n"); scanf("%d" , &year); (year %4 ==0) ? (printf("the year is leap year")) : (printf("the year is not leap year")); //code return 0; }
#include <stdio.h> int main() { int year; printf("enter the year\n"); scanf("%d" , &year); (year %4 ==0) ? (printf("the year is leap year")) : (printf("the year is not leap year")); //code return 0; }