Hello, I’m working on this task:
Create a variable of type int, with a name - width and assign 25 as it’s value.
Here is my code:
public static class FirstVariable
{
public static void Main()
{
int width;
width = 25;
int height;
height = 75;
int width;
width = 175;
int result = width + width + width +height;
console.writeline("result");
}
}
Can anyone please help me to solve it?