I'm trying to make a number guessing game that prints only to the console so far, problem is my knowledge and problem solving is in its infancy and I wanted to up the program to guess between 1 and 1,000,000 but I can't figure out how to add the commas to the integers (Or if that's even allowed) so as to make reading them when printed to the console easier to read for the player.
int max;
int min;
int guess;
max = 1000000;
min = 1;
guess = 500000;