DECISION MAKING STATEMENTS | DART PROGRAMMING LANGUAGE | DART TUTORIAL | TAMIL | BEGINNERS | EP06
Автор: Coder Friend
Загружено: 2020-07-20
Просмотров: 173
Decision Making Statements are those statements which allow the programmers to decide which statement should run in different conditions
---------------------------------------------
If Statement
This type of statement simply checks the condition and if it is Satisfy the statements within it are executed
but if not satisfied then the statements are simply ignored.
----------------------------------------------
If…Else Statement
This type of statement simply checks the condition and if it satisfies the statements within is executed but if not then else statements are executed.
------------------------------------------------
Else…If Ladder
This type of statement checks the condition and if it is Satisfy the statements within it are executed but if it is not then other if conditions are checked, if that satisfies then they are executed, and if not then the other if conditions are checked. this continuous until condition failed to satisfy.
-------------------------------------------------
Nested If statement
checks the condition and if it is satisfied then the if statement inside it checks its condition and if it is satisfied then the statements are executed otherwise else statement is executed.
-------------------------------------------------
Switch Case Statement
switch-case statements are a simplified version of the nested if-else statements
Rules to follow in switch case:
There can be any number of cases. But values should not be repeated.
The case statements can include only constants. It should not be a variable or an expression.
There should be a flow control i.e break within cases. If it is omitted than it will show an error.
The default case is optional.
----------------------------------------------------
Nested switch is switch inside another switch statement that can be used.
=====================================================
visit my personal blog page for more content related to this video.
http://www.coderfriend.tech/blog
Music:- https://www.bensound.com
Disclaimer:
video made for beginners any
clarification visit official websites
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: