Skip to content

andreia-sl/Algorithm-Examples-DIO-Challenge-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

c#

You will receive two values: an integer X with the travelled distance (km) and a real value Y that represents the total fuel consumed (with one digit after the decimal point). The output is the value of the average consumption of the vehicle (km / l).

Read an integer that represents an area telephone code in Brazil (DDD) for long distance dialing. Then, inform which city the DDD belongs to, considering the table below:

DDD City
61 Brasília
71 Salvador
11 São Paulo
21 Rio de Janeiro
32 Juiz de Fora
19 Campinas
27 Vitória
31 Belo Horizonte
### Salary Increase

Receives the amount of the salary and calculates the salary increase according to the conditions listed:

Salário: Percentual de aumento:
0-400.00 15%
400.01 - 800.00 12%
800.01 - 1200.00 10%
1200.01 - 2000.00 7%
Acima de 2000.00 4%
### Series and Movies Registration Algorithm

Registration system for series and movies. List, Input, Update, View and Delete operations.

About

Algorithm Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages