TOPIC

Presentation Error

Leonardo Teixeira asked 1 year ago

double A, B, C, MEDIA;

cin>> A; cin>> B; cin>> C;

MEDIA=(A2 + B3 + C*5)/(2 + 3 + 5);

printf("MEDIA = %.1f \n", MEDIA);

Remember not post solutions. Your post may be reviewed by our moderators.

  • Larissa Dolabella replied 1 year ago

    Tá faltando um espaço entre MEDIA e = e entre o = e %1f, não?