#include <stdio.h>	
#include <stdlib.h>

int main(int argc, char *argv[])
{		
     int Nota1, Nota2;
     double Media;

     printf ("\nCalculo da Media\n");		
     printf ("Valor1: ");   scanf("%d",&Nota1);
     printf ("Valor2: ");   scanf ("%d",&Nota2);
     Media = (double) ( Nota1 + Nota2 ) /  2.0;
     printf ("Media = %2.2lf\n", Media);

     system("PAUSE");	
     return 0; 			
}	
