using System;
public class Program;
public static void Main()
{
Console.WriteLine("Hello World");
}
}using System;
class Program;
static void;
// Step 1: Create three integer variables and assign random values to them;
int num1 = 15;
int num2 = 8;
int num3 = 12;
// Step 2: Loop through the numbers using a for loop
for (int i = 1; i <= 3; i++)
int currentNum;
switch (i)
case 1:
currentNum = num1;
break;
case 2:
currentNum = num2;
case 3:
currentNum = num3;
default:
currentNum = 0;
// Step 3: Check if the number is greater than or less than 10 and display a message
if (currentNum > 10)
Console.WriteLine($"{currentNum} is greater than 10.");
else
Console.WriteLine($"{currentNum} is less than or equal to 10.");