#include <stdio.h>
int main()
{
int n=123;
printf("%05d\n",n);
//05 indicated padding total width of output must be 5
//if it's less than 5 then output will pad with 0's

float f=3.45;
printf("%08.2f",f);
//Same case applies here in which total width is 8
//(.2 indicates width after radix point)

return 0;
}