Selection
| الموقع: | منصة الحسن للتعلم |
| المساق: | Structured Programming |
| كتاب: | Selection |
| طبع بواسطة: | مستخدم ضيف |
| التاريخ: | الأحد، 7 ديسمبر 2025، 1:37 AM |
الوصف
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