Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //updated (fixed fatal bug)
- #include <iostream>
- int main()
- {
- int max, min;
- int userInput[10] = {3,23,32,7,74,57,67,571,78,52};
- if (userInput[0] > userInput[1])
- if (userInput[0] > userInput[2])
- if (userInput[0] > userInput[3])
- if (userInput[0] > userInput[4])
- if (userInput[0] > userInput[5])
- if (userInput[0] > userInput[6])
- if (userInput[0] > userInput[7])
- if (userInput[0] > userInput[8])
- if (userInput[0] > userInput[9])
- max = userInput[0]; //userInput[0] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[3] > userInput[4])
- if (userInput[3] > userInput[5])
- if (userInput[3] > userInput[6])
- if (userInput[3] > userInput[7])
- if (userInput[3] > userInput[8])
- if (userInput[3] > userInput[9])
- max = userInput[3]; //userInput[3] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[2] > userInput[3])
- if (userInput[2] > userInput[4])
- if (userInput[2] > userInput[5])
- if (userInput[2] > userInput[6])
- if (userInput[2] > userInput[7])
- if (userInput[2] > userInput[8])
- if (userInput[2] > userInput[9])
- max = userInput[2]; //userInput[2] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[3] > userInput[4])
- if (userInput[3] > userInput[5])
- if (userInput[3] > userInput[6])
- if (userInput[3] > userInput[7])
- if (userInput[3] > userInput[8])
- if (userInput[3] > userInput[9])
- max = userInput[3]; //userInput[3] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[1] > userInput[2])
- if (userInput[1] > userInput[3])
- if (userInput[1] > userInput[4])
- if (userInput[1] > userInput[5])
- if (userInput[1] > userInput[6])
- if (userInput[1] > userInput[7])
- if (userInput[1] > userInput[8])
- if (userInput[1] > userInput[9])
- max = userInput[1]; //userInput[1] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[3] > userInput[4])
- if (userInput[3] > userInput[5])
- if (userInput[3] > userInput[6])
- if (userInput[3] > userInput[7])
- if (userInput[3] > userInput[8])
- if (userInput[3] > userInput[9])
- max = userInput[3]; //userInput[3] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[2] > userInput[3])
- if (userInput[2] > userInput[4])
- if (userInput[2] > userInput[5])
- if (userInput[2] > userInput[6])
- if (userInput[2] > userInput[7])
- if (userInput[2] > userInput[8])
- if (userInput[2] > userInput[9])
- max = userInput[2]; //userInput[2] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[3] > userInput[4])
- if (userInput[3] > userInput[5])
- if (userInput[3] > userInput[6])
- if (userInput[3] > userInput[7])
- if (userInput[3] > userInput[8])
- if (userInput[3] > userInput[9])
- max = userInput[3]; //userInput[3] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[4] > userInput[5])
- if (userInput[4] > userInput[6])
- if (userInput[4] > userInput[7])
- if (userInput[4] > userInput[8])
- if (userInput[4] > userInput[9])
- max = userInput[4]; //userInput[4] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[5] > userInput[6])
- if (userInput[5] > userInput[7])
- if (userInput[5] > userInput[8])
- if (userInput[5] > userInput[9])
- max = userInput[5]; //userInput[5] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[6] > userInput[7])
- if (userInput[6] > userInput[8])
- if (userInput[6] > userInput[9])
- max = userInput[6]; //userInput[6] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[7] > userInput[8])
- if (userInput[7] > userInput[9])
- max = userInput[7]; //userInput[7] is max
- else
- max = userInput[9]; //userInput[9] is max
- else
- if (userInput[8] > userInput[9])
- max = userInput[8]; //userInput[8] is max
- else
- max = userInput[9]; //userInput[9] is max
- if (userInput[0] < userInput[1])
- if (userInput[0] < userInput[2])
- if (userInput[0] < userInput[3])
- if (userInput[0] < userInput[4])
- if (userInput[0] < userInput[5])
- if (userInput[0] < userInput[6])
- if (userInput[0] < userInput[7])
- if (userInput[0] < userInput[8])
- if (userInput[0] < userInput[9])
- min = userInput[0]; //userInput[0] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[3] < userInput[4])
- if (userInput[3] < userInput[5])
- if (userInput[3] < userInput[6])
- if (userInput[3] < userInput[7])
- if (userInput[3] < userInput[8])
- if (userInput[3] < userInput[9])
- min = userInput[3]; //userInput[3] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[2] < userInput[3])
- if (userInput[2] < userInput[4])
- if (userInput[2] < userInput[5])
- if (userInput[2] < userInput[6])
- if (userInput[2] < userInput[7])
- if (userInput[2] < userInput[8])
- if (userInput[2] < userInput[9])
- min = userInput[2]; //userInput[2] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[3] < userInput[4])
- if (userInput[3] < userInput[5])
- if (userInput[3] < userInput[6])
- if (userInput[3] < userInput[7])
- if (userInput[3] < userInput[8])
- if (userInput[3] < userInput[9])
- min = userInput[3]; //userInput[3] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[1] < userInput[2])
- if (userInput[1] < userInput[3])
- if (userInput[1] < userInput[4])
- if (userInput[1] < userInput[5])
- if (userInput[1] < userInput[6])
- if (userInput[1] < userInput[7])
- if (userInput[1] < userInput[8])
- if (userInput[1] < userInput[9])
- min = userInput[1]; //userInput[1] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[3] < userInput[4])
- if (userInput[3] < userInput[5])
- if (userInput[3] < userInput[6])
- if (userInput[3] < userInput[7])
- if (userInput[3] < userInput[8])
- if (userInput[3] < userInput[9])
- min = userInput[3]; //userInput[3] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[2] < userInput[3])
- if (userInput[2] < userInput[4])
- if (userInput[2] < userInput[5])
- if (userInput[2] < userInput[6])
- if (userInput[2] < userInput[7])
- if (userInput[2] < userInput[8])
- if (userInput[2] < userInput[9])
- min = userInput[2]; //userInput[2] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[3] < userInput[4])
- if (userInput[3] < userInput[5])
- if (userInput[3] < userInput[6])
- if (userInput[3] < userInput[7])
- if (userInput[3] < userInput[8])
- if (userInput[3] < userInput[9])
- min = userInput[3]; //userInput[3] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[4] < userInput[5])
- if (userInput[4] < userInput[6])
- if (userInput[4] < userInput[7])
- if (userInput[4] < userInput[8])
- if (userInput[4] < userInput[9])
- min = userInput[4]; //userInput[4] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[5] < userInput[6])
- if (userInput[5] < userInput[7])
- if (userInput[5] < userInput[8])
- if (userInput[5] < userInput[9])
- min = userInput[5]; //userInput[5] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[6] < userInput[7])
- if (userInput[6] < userInput[8])
- if (userInput[6] < userInput[9])
- min = userInput[6]; //userInput[6] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[7] < userInput[8])
- if (userInput[7] < userInput[9])
- min = userInput[7]; //userInput[7] is min
- else
- min = userInput[9]; //userInput[9] is min
- else
- if (userInput[8] < userInput[9])
- min = userInput[8]; //userInput[8] is min
- else
- min = userInput[9]; //userInput[9] is min
- std::cout << "max: " << max << " min: " << min << "\n";
- system("pause");
- return (max - min);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement