//Developed By 2279 Muhammad Rakib Hasan.
//CTST2354
//Evaluate IF Else Condition
#include<stdio.h>
int main(){
int rain_status;
printf("Please Enter Present Rain Status(Where 1 is for Rain And Other is not ):%d",rain_status);
scanf("%d",&rain_status);
if(rain_status==1){
printf("You Have to Open Your Umbrella \n\n\n\n");
}
else{
printf("You Have Not Open Your Umbrella \n\n\n\n");
}
printf("\n\n\n\n\n\n\n\n.................End.....................");
}
Result :
//CTST2354
//Evaluate IF Else Condition
#include<stdio.h>
int main(){
int rain_status;
printf("Please Enter Present Rain Status(Where 1 is for Rain And Other is not ):%d",rain_status);
scanf("%d",&rain_status);
if(rain_status==1){
printf("You Have to Open Your Umbrella \n\n\n\n");
}
else{
printf("You Have Not Open Your Umbrella \n\n\n\n");
}
printf("\n\n\n\n\n\n\n\n.................End.....................");
}
Result :
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন