C# program to demonstrate example of simple if else statement
belongs to collection: C# Basic Programs | If else (conditional statement) programs
All Answers
total answers (1)
belongs to collection: C# Basic Programs | If else (conditional statement) programs
total answers (1)
C# example for simple if else statement
In this program, there are two different codes – 1) Input age and check whether age is teenage or not, and 2) Input two numbers and check whether first number is divisible by second number or not
Output
need an explanation for this answer? contact us directly to get an explanation for this answer