Advertisement
a53

BrokenKeyboard

a53
Oct 25th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. void sumdif()
  2. {
  3. int rez=0;
  4. if(rez=fgetc(stdin))
  5. {
  6. if(fgetc(stdin)=='-')
  7. {
  8. if(!printf("%d\n",rez-fgetc(stdin)))
  9. {
  10.  
  11. }
  12. }
  13. else
  14. {
  15. if(!printf("%d\n",rez+fgetc(stdin)-48*2))
  16. {
  17.  
  18. }
  19. }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement