Declare a student record 🌶️
A student is taking 6 courses, has a GPA of 3.5, is currently enrolled, and is named Maria. Write code in the box that declares four variables and gives each the right value: an int named numberOfCourses, a double named gpa, a boolean named isEnrolled, and a String named studentName. The four locked lines at the bottom print them (the third one prints the opposite of isEnrolled, so it only works if isEnrolled really is a boolean). Choose each variable's type carefully, the tests check if you did.
Match the type to the kind of value: a whole number is an int, a number with a decimal part is a double, true/false is a boolean, and text in double quotes is a String.