I need help with the errors in my code. Here is my pseudocode along with my program code following:
This is my pseudocode:
Start
Declare Variable
int length
int width
int area
Print (“Enter length of room in ft.: “),
Input length
Print (“Enter width of room in ft.: ”),
Input width
Area = length * width
Display (“The floor is “ + area + “square feet”);
This is my program code:
//declare variable
int length;
int width;
int area;
//input
Console.Write (“Enter length of room in feet: “);
length = Convert.ToInt64 (Console.ReadLine());
Console.Write ( “ Enter width of room in feet:“);
width = Convert.ToInt64 (Console.ReadLine());
//process
area = length * width;
//output
Console.WriteLine ("The floor is " + area "square feet.");