//Developed By 2279 Muhammad Rakib Hasan.
//CTST2354
//Evaluate Leap Year with C Programming
#include<stdio.h>
int main(){
int year;
printf("Please Enter A Valid Year:");
scanf("%d",&year);
if(year%4==0){
printf("%d is a Leap Year.",year);
}
else{
printf("%d Is Not a Leap Year.",year);
}
return 0;
}
Result :
//CTST2354
//Evaluate Leap Year with C Programming
#include<stdio.h>
int main(){
int year;
printf("Please Enter A Valid Year:");
scanf("%d",&year);
if(year%4==0){
printf("%d is a Leap Year.",year);
}
else{
printf("%d Is Not a Leap Year.",year);
}
return 0;
}
Result :
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন