Mod and divide
#include <stdio.h> int main(void) { printf("%d", 7/2); printf(" %d", 7%2); printf(" %d", 4/2); printf(" %d", 4%2); return 0; }