📜  批处理脚本-决策

📅  最后修改于: 2020-11-22 17:49:15             🧑  作者: Mango


决策结构要求程序员指定一个或多个要由程序评估或测试的条件,以及确定条件为true时要执行的一个或多个语句,如果条件为true则可以选择要执行的其他语句。条件被确定为错误

S.No Strings & Description
1 If Statement

The first decision-making statement is the ‘if’ statement.

2 If/else Statement

The next decision making statement is the If/else statement. Following is the general form of this statement.

3 Nested If Statements

Sometimes, there is a requirement to have multiple ‘if’ statement embedded inside each other. Following is the general form of this statement.