Created
May 12, 2023 15:10
-
-
Save suhailgupta03/0cede32994f9587ac4d3381565280e10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var classNumber = 1; // Initializaiton | |
while(classNumber <= 12) { // Declared a condition | |
console.log(classNumber); | |
classNumber++; // Updating the state | |
// which is moving the student from class | |
// number X to X+1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment