/* * CS 161-020, Lecture 8, Winter 2020 * Debugging example * Author: Kiri Wagstaff * Date: January 24, 2020 */ #include using namespace std; void main() { float altitude; if (altitude > 60000) cout << "Up high!" << endl cout << altitude << " is way too high! << endl cout << "Enter another altitude:"; cin << altitude; if (altitude > 60000) cout << "Up high!" << endl cout << altitude << " is way too high! << endl return 0; }