if two scores are the lowest, neither would drop, but I dont know how to fix it. is there a simpler way to find and drop the lowest score?
Type: Posts; User: Joldil
if two scores are the lowest, neither would drop, but I dont know how to fix it. is there a simpler way to find and drop the lowest score?
it works, but I dont know if i did it the right way.
int findLowest() should find and return the lowest of the five scores passed to it. It should be called by calcAverage, who uses the function to determine which of the five scores to drop.
void...
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
char state[3];
cout << "Enter NC, SC, GA, FL, or AL. ";
cin >> state;
if (state == "nc" || state == "NC")