Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joelitaliano/administradordecine
Mini proyecto en java que representa la administración de un cine sin partes graficas
https://github.com/joelitaliano/administradordecine
Last synced: about 1 month ago
JSON representation
Mini proyecto en java que representa la administración de un cine sin partes graficas
- Host: GitHub
- URL: https://github.com/joelitaliano/administradordecine
- Owner: JoelItaliano
- Created: 2022-09-09T01:36:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T01:38:53.000Z (over 2 years ago)
- Last Synced: 2024-07-29T23:07:35.484Z (5 months ago)
- Language: Java
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AdministradorDeCine
Mini proyecto en java que representa la administración de un cine sin partes graficas, fue creado para resolver el desafio de JetBrainsSe encuentra partes en ingles porque asi lo requeria el desafio!
Enter the number of rows:
> 6
Enter the number of seats in each row:
> 61. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 3Number of purchased tickets: 0
Percentage: 0.00%
Current income: $0
Total income: $3601. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 2Enter a row number:
> 1
Enter a seat number in that row:
> 1Ticket price: $10
1. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 3Number of purchased tickets: 1
Percentage: 2.78%
Current income: $10
Total income: $3601. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 2Enter a row number:
> 1
Enter a seat number in that row:
> 1That ticket has already been purchased!
Enter a row number:
> 10
Enter a seat number in that row:
> 20Wrong input!
Enter a row number:
> 4
Enter a seat number in that row:
> 4Ticket price: $10
1. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 1Cinema:
1 2 3 4 5 6
1 B S S S S S
2 S S S S S S
3 S S S S S S
4 S S S B S S
5 S S S S S S
6 S S S S S S1. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 3Number of purchased tickets: 2
Percentage: 5.56%
Current income: $20
Total income: $3601. Show the seats
2. Buy a ticket
3. Statistics
0. Exit
> 0