Skip to content

Commit

Permalink
Arrumando o repositorio
Browse files Browse the repository at this point in the history
  • Loading branch information
nogueiralegacy committed Jan 14, 2023
1 parent 2843f03 commit a416af5
Show file tree
Hide file tree
Showing 68 changed files with 46 additions and 977 deletions.
12 changes: 12 additions & 0 deletions EX1/EX1.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

int main()
{
float temperatura;
float quantidadeDeChuva;

scanf("%f", &temperatura);
scanf("%f", &quantidadeDeChuva);

printf("O VALOR EM CELSIUS = %.2f\nA QUANTIDADE DE CHUVA E = %.2f\n", (temperatura - 32) / 1.8, quantidadeDeChuva * 25.4);
}
17 changes: 17 additions & 0 deletions EX2/EX2.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <stdio.h>

int main()
{
float valorSalarioMinimo;
float quantidadeConsumidaDeEnergia;

scanf("%f", &valorSalarioMinimo);
scanf("%f", &quantidadeConsumidaDeEnergia);

float valorUnidadeKw = valorSalarioMinimo * 0.7 / 100;
float valorTotal = valorUnidadeKw * quantidadeConsumidaDeEnergia;

printf("Custo por kW: R$ %.2f\n", valorUnidadeKw);
printf("Custo do consumo: R$ %.2f\n", valorTotal);
printf("Custo com desconto: R$ %.2f\n", valorTotal * 0.9);
}
17 changes: 17 additions & 0 deletions EX3/EX3.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <stdio.h>

int main()
{
int centenas;
int dezenas;
int unidades;

scanf("%d", &centenas);
scanf("%d", &dezenas);
scanf("%d", &unidades);

int numero = centenas * 100 + dezenas * 10 + unidades;
int quadrado = numero * numero;

printf("%d, %d", numero, quadrado);
}
52 changes: 0 additions & 52 deletions exemplo/.gitignore

This file was deleted.

Binary file removed exemplo/.vs/ip/v16/.suo
Binary file not shown.
Binary file removed exemplo/.vs/ip/v16/Browse.VC.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 0 additions & 11 deletions exemplo/Debug/ip.exe.recipe

This file was deleted.

3 changes: 0 additions & 3 deletions exemplo/Debug/ip.log

This file was deleted.

Binary file removed exemplo/Debug/ip.tlog/CL.command.1.tlog
Binary file not shown.
Binary file removed exemplo/Debug/ip.tlog/CL.read.1.tlog
Binary file not shown.
Binary file removed exemplo/Debug/ip.tlog/CL.write.1.tlog
Binary file not shown.
2 changes: 0 additions & 2 deletions exemplo/Debug/ip.tlog/ip.lastbuildstate

This file was deleted.

Binary file removed exemplo/Debug/ip.tlog/link.command.1.tlog
Binary file not shown.
Binary file removed exemplo/Debug/ip.tlog/link.read.1.tlog
Binary file not shown.
Binary file removed exemplo/Debug/ip.tlog/link.write.1.tlog
Binary file not shown.
1 change: 0 additions & 1 deletion exemplo/Debug/ip.vcxproj.FileListAbsolute.txt

This file was deleted.

12 changes: 0 additions & 12 deletions exemplo/EX1/EX1.c

This file was deleted.

Binary file removed exemplo/EX1/conversoes.pdf
Binary file not shown.
16 changes: 0 additions & 16 deletions exemplo/EX2/EX2.c

This file was deleted.

Binary file removed exemplo/EX2/consumo_de_energia.pdf
Binary file not shown.
3 changes: 0 additions & 3 deletions exemplo/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions exemplo/ip.sln

This file was deleted.

147 changes: 0 additions & 147 deletions exemplo/ip.vcxproj

This file was deleted.

22 changes: 0 additions & 22 deletions exemplo/ip.vcxproj.filters

This file was deleted.

4 changes: 0 additions & 4 deletions exemplo/ip.vcxproj.user

This file was deleted.

Binary file removed exemplo/plano-de-aula.pdf
Binary file not shown.
Loading

0 comments on commit a416af5

Please sign in to comment.