microsoft tech club cairo university "mstc'16 builders and developers " second...
TRANSCRIPT
Revision
Universal Applications
Data Types
IDE and Compiler
Class, Namespace, System
Ready made functions
Arithmetic operators + Addition - Subtraction * Product / Division % Modulus ++ Increment -- Decrement
Assignment operatorsMeaning Example Operator
x = 5 x = 5 =
x =x+5 x += 5 =+
x = x-5 x -= 5 =-
x = x*5 x *= 5 =*
x = x/5 x /= 5 =/
If statementif (condition){Statements will execute if the condition is true.}
Condition CodeTrue
False
End
End
If…. else statementif (condition){Statements will execute if the condition is true}
else{Statements will execute if the condition is false}
Condition CodeTrue
False
Code
Else
End
End
If …else if statementsif (condition1){Executes when condition1 is true}
else if(condition2) {Executes when condition 2 is true}Else{Executes when condition 1 and 2 arefalse}
Condition
Code
True
FalseElse if EndCondition
False
Code
True
End End