Advertisement
Guest User

Untitled

a guest
Apr 11th, 2011
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. // from http://www.friendlyarm.net/forum/topic/439#3148
  2.  
  3. #include <stdio.h>
  4. main()
  5. {
  6. float a,b,c;
  7. int a1;
  8. float d;
  9. a=4.3;
  10. b=3.2;
  11. c=a+b;
  12. a1=(int)c;
  13. d=(float)a1+c;
  14. printf("%f",c);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement