I have played at writing a C# program. It is to work out surface areas.
My problem is that the int is being displayed as I believe Unicode? eg 3 is displayed as 51
Here is a snippet of the code.
double area;
double width;
Console.WriteLine("Please input width or Height of one side of cube");
width = Console.Read();
Console.WriteLine(width); // to check input
area = (width * width) * 6;
Console.WriteLine(area);
Am I using the wrong commands? or can it be reverted to the double the int is passed to?