var scoutinfo = new scoutinformation(); scoutinfo.preadmissionstatus = checkpreadmission(requirements); if(scoutinfo.preadmissionstatus == "reject") { console.writeline("prepare for a personal interview to reactivate your application!"); } else { console.writeline("congratulations on moving forward with your boy scouts journey!"); }