Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void sumdif()
- {
- int rez=0;
- if(rez=fgetc(stdin))
- {
- if(fgetc(stdin)=='-')
- {
- if(!printf("%d\n",rez-fgetc(stdin)))
- {
- }
- }
- else
- {
- if(!printf("%d\n",rez+fgetc(stdin)-48*2))
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement