int main(void)
{
//Variable Declaration/Initialization
int choice;
int a=0;
int b=0;
int c=0;
int d=0;
//Display graphics window
displayGraphics();
//promt the user to input
cout << "Insert 4 Numbers" << endl;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
//if else statement
if (a > b)
{
max_value = a;
else
max_value = b;
}
return 0;
}
the other question is that like you see in the code i have 4 cin so i need to do max and min value for those 4 integers and determines the minimum and maximum values of these integers i can do it for 2 but how i do that for all of them? thank you