You see, I\'ve self-taught myself C++ (not completely, I\'m still procrastinating -_-). So, now I started university and they\'re teaching C and they made us do a program of
Try something like this
int main(void) { int a=-2,b=-3,c=-4,d=-5; int max=a,min=a; if(b>max){ max=b; }else if(bmax){ max=c; }else if(cmax){ max=d; }else if(d
Demo