/* This is the main file that will use the Radio class This files uses the functions of the class to check that they work Tom Orzechowski orzecht1@lasalle.edu */ #include #include "radio_orz.h" using namespace std; void main(){ Radio test; bool stay=true;//holds value whether or not to stay in loop bool success;//holds returned value of class functions (whether they were successfull or not) int userinput;//holds the user input while (stay){ cout<>userinput; switch (userinput){ case 1: stay=false; break; case 2: test.TogglePower(); break; case 3: clog<<"Which button do you wish this station to be preset to?(1-6) "; cin>>userinput; success=test.Preset(userinput); if(!success) clog<<"Invalid Button was entered"<>userinput; success=test.GoPreset(userinput); if(!success) clog<<"Either Invalid input or button has no station value"<>userinput; switch (userinput){ case 1: stay=false; break; case 2: test.TogglePower(); break; default: clog<<"Invalid Input"<