Commit b59add93 authored by Walterio Montanez's avatar Walterio Montanez

autosave

parent f3ece871
......@@ -138,9 +138,9 @@ bool isLeap (int year) {
}
pair<double,double> (double altitude, string Direction) {
pair<double,double> altAndAziPair (double altitude, string Direction) {
double Azi;
pair<double,double> altAndAziPair;
pair<double,double> aziPair;
cout << "Enter the altitude at which you are looking : ";
if (!(cin >> altitude)) { // validates that numbers were entered and checks input
......@@ -177,7 +177,7 @@ pair<double,double> (double altitude, string Direction) {
Azi = 315;
}
altAndAziPair = make_pair(altitude,Azi);
aziPair = make_pair(altitude,Azi);
return altAndAziPair;
return aziPair;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment