I'm a rookie when it comes to C++. I'm trying to write a program that prompts for seven scores, eliminate the high and low score (only one of them), and total the five remaining scores to give an overall score using an array. I'm stuck on what the code is to eliminate the high and low score. Here is what I've got so far:
Code:#include <iostream.h> #include <stdlib.h> int main() { float score[7],overall; int i; overall=0.; for (i=0; i<=6; i++) { cout<<"Enter a score"<<i+1<<":"; cin>>score[i]; system("PAUSE"); return 0; }