Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. //fazer em casa
  3. main(){
  4.     float x, y;
  5.    
  6.     while (x > 0 && y<15){
  7.        
  8.         printf("digite a nota:\n");
  9.         scanf("%f", &x);
  10.         //media = media + x;
  11.         y++;//y=y+1;
  12.     }
  13.     //printf("%f", media);
  14.    
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement