Intro to Prog in C#
13 May 2025
  • 1. Introduction
  • 2. Data and Variables
  • 3. Methods/Functions
  • 4. Selection/Conditional
    • 4.1. Intro/Boolean
    • 4.2. if and if-else Statements
    • 4.3. else-if Statements: Multi-Selection
    • 4.4. Nested Conditionals
    • 4.5. Compound Boolean Expressions
    • 4.6. Switch Statement
    • 4.7. Lab 04
    • 4.8. Chapter Review
  • 5. Iteration: for Loops
  • 6. Iteration: While Loops
  • 7. Files & Paths
  • 8. Arrays
  • 9. Collections
  • 10. Classes
  • 11. Object-Oriented Programming
  • 12. Data Structure
  • 13. Selected Topics
  • 14. Appendix
Intro to Prog in C#
  • 4. Selection/Conditional
  • View page source

4. Selection/Conditional

  • 4.1. Intro/Boolean
    • 4.1.1. Selection Statements
    • 4.1.2. Boolean Data Type
    • 4.1.3. Boolean Expressions
  • 4.2. if and if-else Statements
    • 4.2.1. Simple if Statements
    • 4.2.2. if-else Statements: Two-Way Selection
  • 4.3. else-if Statements: Multi-Selection
    • 4.3.1. else-if Statements
    • 4.3.2. else-if Statements for Cases
  • 4.4. Nested Conditionals
    • 4.4.1. Nested if Statements
    • 4.4.2. Nested if-else Statements
  • 4.5. Compound Boolean Expressions
    • 4.5.1. Logical Operators
    • 4.5.2. Compound test conditions
  • 4.6. Switch Statement
    • 4.6.1. Switch Statement
    • 4.6.2. The default Keyword
    • 4.6.3. The break Keyword
  • 4.7. Lab 04
    • 4.7.1. Boolean Expressions
    • 4.7.2. if-else Exercise
    • 4.7.3. Graduation
    • 4.7.4. Calculate Weekly Wages
    • 4.7.5. Congress Exercise
  • 4.8. Chapter Review
Previous Next

© Copyright . Last updated on 13-May-2025 04:11:01.

Built with Sphinx using a theme provided by Read the Docs.