Day 4: loop structure (while, do... While, ),... While1. Loop Structure (while, do... While,)
1.1. What is a loop structure
In daily life, there will be a lot of things that need to be done repeatedly, such as four seasons of every year, 7 days of
After another common use of do while loops ... The loop of the next loop. Repeat a statement in a Do While loop statement
The number of blocks is uncertain. Repeated statements or when the condition is true or until the condition becomes true. The
[Longshu Note] introduction to basic concepts involved in syntax analysis
This document is my understanding of sections 2.3-2.5 of longshu. It mainly introduces many basic concepts of syntax analysis on the compiler front-end. The next note will be
RELATED Links:
PHP Syntax (i): Foundations and variables
PHP Syntax (b): Data types, operators, and functions
PHP Syntax (iii): Control structure (for loop/if/switch/while)
This article I will summarize a few PHP commonly used control structure,
: This article mainly introduces PHP syntax 3: control structure For loop IfSwitchWhile. if you are interested in PHP tutorials, refer to it.
Related links:
PHP syntax(1): Basics and variables
PHP syntax(2): data types, operators, and functions
PHP
If statementint score = 70;if (Score NSLog (@ "failed");}else if (score >= 60){NSLog (@ "pass");}If the judgment condition exists in more than one case, judging whether a year is run yearint year;printf ("Please enter a year:");scanf ("%d",
1. Loop Structure (while, do... While,)
1.1. What is a loop structure
In daily life, there will be a lot of things that need to be done repeatedly, such as four seasons of every year, 7 days of every week, 3 meals a day, and 50 copies of each
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.