while loops

C++
i = 1

while i < 6:

  print(i)

    if i == 3:
    break
  i += 1
 while (condition):
  doThis();i = 0

while i < 6:

    i += 1

  if i == 3:
    continue
  print(i)

 while loop
regular expression
while (example == "example") {
  std::cout << "you typed" << example << endl;
}
Source

Also in C++: