namespace AC_in_C_
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter the project: ");
string selector = Console.ReadLine();
switch (selector)
{
case "11":
ac11();
break;
case "21":
ac21();
break;
case "22":
ac22();
break;
case "23":
ac23();
break;
case "24":
ac24();
break;
default:
Console.WriteLine("That is not a project you dumb shit");
break;
}
}
static void ac11()
{
Console.Clear();
Console.WriteLine("Hello, World");
}
static void ac21()
{
Console.Clear();
string name = "Zilly";
string colour = "red";
Console.WriteLine($"My name is {name}");
Console.WriteLine($"My favourite colour is {colour}");
}
static void ac22()
{
Console.Clear();
Console.Write("Enter a noun: ");
string noun = Console.ReadLine();
Console.Write("Enter a verb: ");
string verb = Console.ReadLine();
Console.Write("Enter an adjective: ");
string adjective = Console.ReadLine();
Console.WriteLine($"Here's the story:\nThe {adjective} {noun} likes to {verb} in the park");
}
static void ac23()
{
Console.Clear();
Console.Write("Enter your first name: ");
string first = Console.ReadLine();
Console.Write("Enter your last name: ");
string last = Console.ReadLine();