i Don't understand when i run the code the result come correct but when i submit it it said that it's not export const min = (a, b, c) => { if((a<b)&&(a<c)){return a;} else if((b<a)&&(b<c)){return b;} else if((c<a)&&(c<b)){return c;} else{return 0} }
export const min = (a, b, c) => { if((a<b)&&(a<c)){return a;} else if((b<a)&&(b<c)){return b;} else if((c<a)&&(c<b)){return c;} else{return 0} }
if(a<b && a<c){ return a; } else if(b<a && b<c){ return b; } else { return c; }
Adi_tm_007 thnks bro that helped me
yeh but we need to return a value if a and b and c are equilee too