Selection
الموقع: | منصة الحسن للتعلم |
المساق: | Structured Programming |
كتاب: | Selection |
طبع بواسطة: | مستخدم ضيف |
التاريخ: | السبت، 23 نوفمبر 2024، 1:41 PM |
الوصف
Objectives
- Control structures
- Sequence structures
- Selection structures (if selection statement and if…else selection statement)
- The switch selection statement;
- The logical operators to form complex conditional expressions in control statements;
- To avoid confusing the equality and assignment operators
Logical Operatores
If- Statement
Switch Statment
Example
Set of Examples
Weather Checker
Max of 2 integers
Absolute Value
Sort 3 Numbers
Simple Restaurant
menu-based calculator
Sphere
Character type
Substances detection
Nnumber to words