Advertisement
bertao

EX1 PRO DIA 21/08

Aug 15th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main(){
  4. float idade, ano;
  5. printf("digite o ano que nasceu:");
  6. scanf("%f",&ano);
  7. idade=2019-ano;
  8.  
  9. printf("voce fara ou ja fez %.2f",idade);
  10.  
  11. return 0;
  12.  
  13.  
  14.  
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement