Printf ("output format type", variable);
take for example
int a = 10;
int b = 20
printf("%d,%d\n ",a,b);