21
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int age = 18; // Predefined age value since .NET Fiddle may not support Console.ReadLine()
8
9
Console.WriteLine("Your age is: " + age);
10
11
if (age >= 18)
12
{
13
Console.WriteLine("You are old enough to drive!");
14
}
15
else
16
{
17
Console.WriteLine("You are not old enough to drive.");
18
}
19
}
20
}
21
Cached Result
2
Meow
Meow