C++ Printing ascii values

Printing the ascii values of letters.

#include <stdio.h>

void main(){
	
	//Printing the ascii values of letters
	unsigned char Capital, LowC;
	
	for (Capital = 'A', LowC = 'a'; Capital <= 'Z'; Capital++, LowC++)
		printf("%c\t%2x\t\t%c\t%2x\n", Capital, Capital, LowC, LowC); //Put d(decimal) instead x(hexa)

} //Of main()