//Developed By 2279 Muhammad Rakib Hasan.
//CTST2354
//Evaluate Large Number among three input value using and operator
#include<stdio.h>
int main(){
int a,b,c;
printf("Enter The 3 Value:");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c){
printf("%d Is Gratter Number",a);
}
if(b>c&&b>a){
printf("%d Is Gratter Number",b);
}
else{
printf("%d Is Gratter Number",c);
}
return 0;
}
Result:
//CTST2354
//Evaluate Large Number among three input value using and operator
#include<stdio.h>
int main(){
int a,b,c;
printf("Enter The 3 Value:");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c){
printf("%d Is Gratter Number",a);
}
if(b>c&&b>a){
printf("%d Is Gratter Number",b);
}
else{
printf("%d Is Gratter Number",c);
}
return 0;
}
Result:
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন