Skip to content
Just Tech Review
  • Blogging
  • C
    • C Programs
    • C Tutorials
  • C#.NET
  • C#
  • Electric Cars
  • Java
  • JavaScript
  • PHP
  • Python
  • Smartphone Reviews
  • SQL

C# program to demonstrate example of simple if else statement

C# program to demonstrate an example of a simple if-else statement

23rd December 2019 by Sean Fleming
C# program to demonstrate example of simple if else statement

Syntax: C# example for the simple if-else statement: Output Enter age: 17 17 is teenage Enter first number : 120 Enter second number: 20 120 is divisible by 20

Categories C# Programming, Programming Tags C# program to demonstrate example of simple if else statement Leave a comment

Search for content, code snippets, etc.

© 2025 Just Tech Review • Built with GeneratePress