Advertisement
bertao

EX3 pro dia 21/08

Aug 15th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(){
  3. float a,b,c,d,soma;
  4. printf("numero 1:");
  5. scanf("%f",&a);
  6. printf("numero 2:");
  7. scanf("%f",&b);
  8. printf("numero 3:");
  9. scanf("%f",&c);
  10. printf("numero 4:");
  11. scanf("%f",&d);
  12.  
  13.  
  14.  
  15. soma=a+b+c+d;
  16. printf("soma:%f",soma);
  17.  
  18.  
  19. return 0;
  20.  
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement