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