Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Nov 30, 2024
1 parent 236c76a commit e356c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/beecrowd/1040/1040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e356c08

Please sign in to comment.