Module 5: Looping

Cards (6)

  • What are the three types of loop in C++ ?
    • for loop
    • while loop
    • do-while loop
  • What example is this ?
    for loop
  • int count = 1: initializes the count variable
  • ++count: increase the count variable by 1 in each iteration
  • Kaninong syntax to sis ?
    while loop
  • oh eto sis saan namn yan ?
    do while loop