// Basic Syntax: Variable Declarations let name = "Bryan Carl Mationg"; let age = 20; let course = "Bachelor of Science in Computer Science"; let yearLevel = "3rd year"; let hobbies = ["Basketball", "Playing Online Games", "Watching Movies"]; // Function: Introduce Yourself function introduce() { console.log("Hello, my name is " + name + "."); console.log("I am " + age + " years old."); console.log("I am a " + yearLevel + " student studying " + course + "."); } // Operator: Simple Math Operation function yearsUntilGraduation(currentYear, graduationYear) { return graduationYear - currentYear; } // Control Structure: Conditional Statement function checkHobbies() { if (hobbies.length > 2) { console.log("I have several hobbies to enjoy in my free time!"); } else { console.log("I am looking for more hobbies to explore."); } } // Array & Loop: Display Hobbies function listHobbies() { console.log("Here are some of my hobbies:"); for (let i = 0; i < hobbies.length; i++) { console.log("- " + hobbies[i]); } } // Execute Functions introduce(); console.log("I will graduate in " + yearsUntilGraduation(2025, 2027) + " years."); checkHobbies(); listHobbies();