Hello, I’m working on this task:
Write a program that calculates and outputs to the screen the distance from your position (blue dot) to the destination (red dot). Tip: You need to use int variables and plus ‘+’ operation in your solution.
Here is my code:
public static class DrawToSafetyPlace
{
public static void Main()
{
int result = 0;
Console.WriteLine(result);
}
}
Can anyone please help me to solve it?