So I need to find the highest and lowest for some numbers I am storing into struct
#include <iostream>
#include <string>
using namespace std;
struct WeatherStation {
string StationDesignation;
double Temperature;
} CA, FL, NY;
// EXAMPLE, I WILL ADD A LOOP FOR FL AND NY
int main()
{
string Command;
WeatherStation CA;
cout<<"Enter reported temperatures..."<<endl;
cout<<endl;
cout<<"Weather Station CA: ";
cin>>CA.Temperature;
I need to know how to find the lowest and highest from these 3