nikolas_serafini

Lista 1 - Exercício 2

May 21st, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     float grade1 = 8,grade2 = 10,fgrade;
  7.  
  8.  
  9.     fgrade = (grade1+grade2)/2;
  10.  
  11.     printf("A media final do aluno eh %f\n",fgrade);
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment