HI,



C:Copy to clipboard
#include <stdio.h>
int main() {
int a,b,c ;
printf("Enter the three values\n");
scanf("%d %d %d",&a,&b,&c);
if(a>b){
if(a>c){
printf("a is the biggest value",a);
}
else{
printf("c is the biggest value",c);
}
if ("b>c"){
printf("b is the biggest value",b);
}
else
{
printf("c is the biggest value",c);
}
}
return 0;
}
I want to modify it , if the person gibt two number the same
like , A= 3 , B=4 , C=5 so thprogram will show tha c is the biggest number , but that is not true, so I want to solve this problem



C:Copy to clipboard
#include <stdio.h>
int main() {
int a,b,c ;
printf("Enter the three values\n");
scanf("%d %d %d",&a,&b,&c);
if(a>b){
if(a>c){
printf("a is the biggest value",a);
}
else{
printf("c is the biggest value",c);
}
if ("b>c"){
printf("b is the biggest value",b);
}
else
{
printf("c is the biggest value",c);
}
}
return 0;
}
I want to modify it , if the person gibt two number the same
like , A= 3 , B=4 , C=5 so thprogram will show tha c is the biggest number , but that is not true, so I want to solve this problem