public static void Main()
Console.WriteLine("Welcome to the Apartment Room Builder!!");
Console.WriteLine("Let's start with the size of your room! \nEnter the length in feet:");
int input1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the width in feet:");
int input2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the height in feet:");
int input3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Now, let's choose the color of your room! \nEnter the main color:");
string color = Console.ReadLine();
Console.WriteLine("Enter the window color:");
string windowColor = Console.ReadLine();
Console.WriteLine("Enter the color of the bed:");
string bedColor = Console.ReadLine();
Console.WriteLine("Now, let's choose what decorations you want on your shelves! \nEnter your first item:");
string item1 = Console.ReadLine();
Console.WriteLine("Enter the second item:");
string item2 = Console.ReadLine();
Console.WriteLine("Now, let's choose your apartment number \nEnter your preferred numbers:");
int roomNum = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Do you want to choose your pet or be given a pet? \nTo choose, type 'Choose' or 'Given':");
string answer = Console.ReadLine();
Console.WriteLine("What type of pet would you like?");
type = Console.ReadLine();
Console.WriteLine("What will their name be?");
name = Console.ReadLine();
else if (answer == "Given")
CalculateVolume(input1, input2, input3);
CalculateColor(color, windowColor, bedColor);
CalculateShelf(item1, item2);
public static void CalculateVolume(int input1 = 0, int input2 = 0, int input3 = 0)
Console.WriteLine("The volume of your room is " + input1 * input2 * input3 + " cubic feet! It is " + input1 + " by " + input2 + " feet long and " + input3 + " feet high.");
public static void CalculateColor(string color, string windowColor, string bedColor)
Console.WriteLine("The main color of your room is " + color + ". Good choice! \nYour beautiful windows are " + windowColor + ". Your bed is in the middle of the room and it is " + bedColor + ".");
public static void CalculateShelf(string item1, string item2)
Console.WriteLine("On your shelf, you have " + item1 + ". I love your choice of decoration! \nAnd on your second shelf above your bed, you have " + item2 + ".");
public static void Num(ref int roomNum)
Console.Write("Your apartment number is: " + roomNum);
public static void Pet(string type = "dog", string name = "Lilly")
Console.WriteLine("You have a " + type + " named " + name + " as your pet.");
Console.WriteLine("You have a pig named parker as your pet.");