From e356c0812e9e54840f8ae47a70a64d6432c52e54 Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Sat, 30 Nov 2024 15:19:40 -0300 Subject: [PATCH] Fix lint --- solutions/beecrowd/1040/1040.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/beecrowd/1040/1040.c b/solutions/beecrowd/1040/1040.c index cbd391da..b414866c 100644 --- a/solutions/beecrowd/1040/1040.c +++ b/solutions/beecrowd/1040/1040.c @@ -6,7 +6,7 @@ int main() { while (scanf("%f %f %f %f", &a, &b, &c, &d) != EOF) { m = (a * 2.0 + b * 3.0 + c * 4.0 + d) / 10.0; - printf("Media: %.1f\n", ((float)(int)(m*10)/10.0)); + printf("Media: %.1f\n", ((float)(int)(m * 10) / 10.0)); if (m >= 7.0) { printf("Aluno aprovado.\n");