Skip to content

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

Notifications You must be signed in to change notification settings

analiaBurgosDev/java_OOP_taxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages