An open API service indexing awesome lists of open source software.

https://github.com/analiaburgosdev/java_oop_taxes

Java OOP exercise to track public spending and tax collection, identifying cities and provinces with deficits.
https://github.com/analiaburgosdev/java_oop_taxes

java oop-principles oops-in-java

Last synced: 3 months ago
JSON representation

Java OOP exercise to track public spending and tax collection, identifying cities and provinces with deficits.

Awesome Lists containing this project

README

          

# Ejercicio de POO - Sistema de Control de Gastos Públicos

## Consigna

Un **país** necesita controlar el gasto público de las ciudades con más de **100.000 habitantes**. Para ello, tiene información del monto recaudado por cada ciudad a través de **cinco diferentes tipos de impuestos** (denominados: imp1, imp2, imp3, imp4 e imp5) y la información acerca de los **gastos realizados** en el mantenimiento de la ciudad.

Este país necesita un sistema que le informe:

1. **Cuáles son las ciudades** que gastan más de lo que recaudan.
2. **Qué provincias** tienen más de la mitad de sus ciudades en condición de **déficit**.

### Consejos:
- Tener en cuenta la información que contienen los distintos impuestos.

### Extra:
- **¿En qué afecta el tamaño de la ciudad?**
--------------------------------------------------------------------------------------------------------------------------
# OOP Exercise - Public Spending Control System

## Problem Description

A **country** needs to control public spending in cities with more than **100,000 inhabitants**. For this, the country has information on the revenue collected by each city through **five different types of taxes** (called imp1, imp2, imp3, imp4, and imp5), as well as information on the **expenses incurred** for city maintenance.

This country needs a system that provides the following:

1. **Which cities** are spending more than they are collecting.
2. **Which provinces** have more than half of their cities in a **deficit** condition.

### Tips:
- Consider the information contained in the different taxes.

### Extra:
- **How does the size of the city affect the situation?**