%d and %f are for integer and float respectively.