/*__________________________________________________

   Libro: EMPEZAR DE CERO A PROGRAMAR EN LENGUAJE C
   Ejemplo 12.3: Calificación según nota
                 (Versión 2)
                 
   Web del Autor: http://www.carlospes.com
  __________________________________________________*/

#include <stdio.h>

int main()
{
   float nota;

   printf( "\n   Introduzca nota (real): " );
   scanf( "%f", &nota );

   if ( nota >= 5 )
      printf( "\n   APROBADO" );

   return 0;
}
