结果: The number is 0 The number is 1 The number is 2 Continue
continue 命令会终止当前的循环,然后从下一个值继续运行。
实例:
结果: The number is 0 The number is 1 The number is 2 The number is 4 The number is 5 The number is 6 The number is 7 The number is 8 The number is 9 The number is 10