Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peteprattis/hotel-receipts-program
This is a practice program is Visual Basic that simulates the calculation of hotels' receipts and various statistics.
https://github.com/peteprattis/hotel-receipts-program
2d-arrays computer-science program visual-basic
Last synced: about 7 hours ago
JSON representation
This is a practice program is Visual Basic that simulates the calculation of hotels' receipts and various statistics.
- Host: GitHub
- URL: https://github.com/peteprattis/hotel-receipts-program
- Owner: PetePrattis
- License: mit
- Created: 2020-09-25T09:29:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T09:37:38.000Z (about 4 years ago)
- Last Synced: 2023-09-14T10:17:26.791Z (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 hotles' receipts and various statistics.**
>#### Description of Exercise
>
>A hotel chain has ten (10) hotels. In a 10x12 table the receipts of each hotel for each month of the year are separated. Write a program that:
>
>* It reads the names of the hotels and saves them in a one-dimensional table.
>* For each hotel and for each month he reads his receipts and saves them in a two-dimensional table 10x12.
>* Finds and displays the name of the hotel with the lowest collection for the first half of the year.
>* For each hotel calculates and displays the average monthly revenue for the quarter June-July-August.
>* Calculates and displays the difference between the maximum and minimum monthly collection of all hotels in the quarter June-July-August.
>* For each hotel it calculates the annual receipts of each hotel and saves them in a one-dimensional table. Displays the names of hotels with annual receipts greater than 1,000,000.
>