Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- float x, y;
- int z;
- x = 4.0f;
- y = 2.0f;
- z = (int)(x/y);
- printf("%d\n", z);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement