int m;
if(a>b && a>c)
min = a;
else if(c>b && c>a)
min = c;
else if(b>c && b>a)
min = b;
return min;
sorry if i ask for help should give max information
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Rodolfo Sanchez-Garcia
30 April 2019, 18:45
Are you calculating min or max? You should review if logical operator would be > or <. Also, m variable is not in the body code. Could you please double check?
0