Official_Lusi

si

Nov 9th, 2022
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int a, b;
  6. float n;
  7.  
  8. puts("Inserisci a e b");
  9. scanf("%d %d", &a, &b);
  10.  
  11. n = (float) a/b;
  12.  
  13. printf("%f", n);
  14.  
  15.  
  16. getchar();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment