#include <stdio.h> #include <stdlib.h> float notas (float p1, float p2) { float notaMin; notaMin=(20-(p1+p2))/2; return notaMin; } int main () { float n1, n2, nota;
Standard input is empty
prog.c:14:48: error: expected ';' after expression printf("CÁLCULO DE NOTA PARA APROVAÇÃO:\n") ^ ; prog.c:14:48: error: expected '}' prog.c:12:1: note: to match this '{' { ^ 2 errors generated.
Standard output is empty