This C# program takes in a longitude and latitude and returns the temperature forecasted for the next Wednesday night.
The program requires two inputs: a longitude and a latitude. The longitude should be a valid between 180 and -180, the latitude between 90 and -90. The maximum accuracy allowed is 4 decimal places.
The program will output the forecasted temperature for the next Wednesday night, in degrees Fahrenheit.
To use the program, follow these steps:
- CLick on the Code button, and download the zip file.
- Unzip the file.
- Double click the WeatherApp..exe - Shortcut.
- Enter the longitude and latitude in the input fields on the program's user interface.
- Click the "Get Temperature" button to retrieve the forecasted temperature for the next Wednesday night.
The program will display the forecasted temperature for the next Wednesday night in the text box on the user interface.
This program requires Visual Studio 2019 or later to be installed on your machine.
Here's an example of how to use the program:
Enter the longitude -122.4194 in the "Longitude" input field.
Enter the latitude 37.7749 in the "Latitude" input field.
Click the "Get Temperature" button.
The program will display the forecasted temperature for next Wednesday night, such as 56°F, in the text box.