Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

i++ i--

let x = 10;
while(x < 20) { //when x is less than 20
  x++; //add 1 to x
  console.log(x); //logs the numbers 11 - 20 to the console
}
Source by discuss.codecademy.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+4 =