Advertisement
HristoBaychev

4definevervol2

Oct 5th, 2021
215
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 1 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     double a = 4.9876543;
  6.     double b = 7.1234567890123456789123456789;
  7.     long double c = 18398458438583853.28;
  8.     long double d = 18398458438583853.39875937284928422;
  9.    
  10.  
  11.     printf("a = %.7f\n", a);
  12.     printf("b = %.30Le\n",b);
  13.     printf("c = %Le\n", c);
  14.     printf("d = %Le\n", d);
  15.  
  16.  
  17.     return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement