Compare commits

..

No commits in common. "657ee0dbbf8785b6a9e32e7e913b243367df6c0a" and "937af5fba41cdd7c2871d3a09213a513e1fd78e4" have entirely different histories.

3 changed files with 0 additions and 32 deletions

View File

@ -1,9 +0,0 @@
#include <cstdio>
int main()
{
float a, b, c;
scanf("%f%f%f", &a, &b, &c);
printf("MEDIA = %.1f\n", (a * 2 + b * 3 + c * 5) / (2 + 3 + 5));
return 0;
}

View File

@ -1,10 +0,0 @@
#include <cstdio>
int main()
{
char name[10];
double a, b;
scanf("%s%lf%lf", &name, &a, &b);
printf("TOTAL = R$ %.2lf\n", a + b * 0.15);
return 0;
}

View File

@ -1,13 +0,0 @@
#include <cmath>
#include <cstdio>
int main()
{
int a, b, c;
int max;
scanf("%d%d%d", &a, &b, &c);
max = (a + b + abs(a - b)) / 2;
max = (max + c + abs(max - c)) / 2;
printf("%d eh o maior", max);
return 0;
}