fork download
  1. Program resultado;
  2. Var N1,N2,N3 : Real;
  3. S, M : Real;
  4. Begin
  5. N1:=7.5;
  6. N2:=5.5;
  7. N3:=4.5;
  8. S:=N1+N2+N3;
  9. M:=S/3;
  10. If (M >= 5) Then
  11. Writeln('aprovado')
  12. Else
  13. Writeln('reprovado');
  14. End.
Success #stdin #stdout 0.02s 4112KB
stdin
Standard input is empty
stdout
aprovado