Reginaldojs

exercicio 1,lista 1

Apr 27th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(){
  3.         float nota1,nota2,media;
  4.         printf("digite a primeira nota:");
  5.         scanf("%f",&nota1);
  6.         printf("digite a segunda nota:");
  7.         scanf("%f",&nota2);
  8.             media=(nota1+nota2)/2;
  9.         printf("a media sera:%f",media);
  10.         return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment