CS
  • Home
  • Languages
    • Python >
      • Basics
      • Conditions & Loops
      • Functions and Modules
      • Other Data Types
      • Errors and Exceptions
      • Projects
    • C + + >
      • Basics
      • Functions
      • Conditions & Loops
  • Programs
  • About

Conditions & Loops

1 - If & else Statement
2 - while Loop
4 - For Loop
5 - Assignment Operators
3 - Logic Operators
6 - Simple Math
Exercises
  • Ask a user how their day is, then output different responses based off the input.
  • Ask a user for 2 numbers check if any numbers are even (or odd) and output which numbers are even (or odd).
  • Build a program that adds 2 to a number while the number is less than 10 and output the result.
Powered by Create your own unique website with customizable templates.
  • Home
  • Languages
    • Python >
      • Basics
      • Conditions & Loops
      • Functions and Modules
      • Other Data Types
      • Errors and Exceptions
      • Projects
    • C + + >
      • Basics
      • Functions
      • Conditions & Loops
  • Programs
  • About