Advertisement
jordanov

ddv

Nov 15th, 2019
541
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. const float ddv = 0.10;
  3. int main()
  4. {
  5.    
  6.     int n,i;
  7.     float sum=0.0;
  8.     int br;
  9.     scanf("%d", &br);
  10.     sum = br * ddv;
  11.    
  12.     printf("SUMA = %.2f\n", sum);
  13.  
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement