Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int a=1,b=2,c=3,d=4,ans;
- ans = a*c-b/d;
- printf("%d\n",ans);
- system("PAUSE");
- return 0;
- }
- //* 整數除以整數結果若為小數,則四捨五入。
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement