var asiaexplorationapp = new explorationapp(); asiaexplorationapp.initiatejourney("asia", keycode); for(int day = 1; day <= asiaexplorationapp.tripduration; day++) { asiaexplorationapp.finddestinations(day); if(day == preadmission) { asiaexplorationapp.tuneoutnoise(); } else if(day == asiaexplorationapp.tripduration) { asiaexplorationapp.notereflections("journey in asia allows you to begin afresh with every sunrise, embracing new cultures and experiences."); } }