Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peteprattis/weather-station-program
This is a practice program is Visual Basic that simulates the calculation of some cities' weather and various statistics.
https://github.com/peteprattis/weather-station-program
2d-arrays computer-science program visual-basic
Last synced: about 3 hours ago
JSON representation
This is a practice program is Visual Basic that simulates the calculation of some cities' weather and various statistics.
- Host: GitHub
- URL: https://github.com/peteprattis/weather-station-program
- Owner: PetePrattis
- License: mit
- Created: 2020-09-27T12:32:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T12:41:42.000Z (about 4 years ago)
- Last Synced: 2023-09-14T10:17:32.996Z (about 1 year ago)
- Topics: 2d-arrays, computer-science, program, visual-basic
- Language: Visual Basic .NET
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Visual Basic Program
**This is a practice program is Visual Basic that simulates the calculation of some cities' weather and various statistics.**
>#### Description of Exercise
>
>In a two-dimensional table D(4,6) the temperatures for four cities in the first half of 2019 are recorded by a meteorological station. To write a program that:
>
>* Read the names of the cities from the screen and save them in a table P(4). For each city and for each month, read the temperature and store it in table D(4,6). You can use the Rnd function to automatically generate values between 0 and 40.
>* Display average temperatures for all cities.
>* For each city calculate the number of months that the temperature was below 10 degrees and display it together with the name of the city.
>* Find and display the month with the highest temperatures as well as this value.
>* Find and display the cities whose average annual temperatures were higher than the average temperatures for all cities.
>