}
okay so i have this portion correct so the user can input integers but now i need the program to find the median of the numbers the user has inputted but i dont know how to do that
okay so i have this portion correct so the user can input integers.....
Your variable names are confusing - you want them to be int, but you declared them as float. Prefer double rather than float, the precision of float is easily exceeded.
You are using arrays, so just use the array you have and get rid of variables firstint,secondint,thirdint,fourthint,fifthint
but now i need the program to find the median of the numbers the user has inputted but i dont know how to do that
So you need to sort the numbers, then the 3rd one will be the median.