Write a program that will read in 10 test scores. Print out all 10 scores, then print the highest score, and then the lowest score.
Ok i got this so far but i do not know how to print the highest or lowest.
#include<iostream>
using namespace std;
int main()
{
int score;
int t[10];
while(cin >> t[10])
{
cout << t[10] << endl;
}
}