Hello, I’m working on this task:
Write the program that calculates 10 squared and outputs it to the screen. The output should be:
10 squared is ***
Here is my code:
public static class StopMovingWalls
{
public static void Main()
{
int squared=10*3;
Console.WriteLine($"10 squared is {squared}");
}
}
Can anyone please help me to solve it?