How to print three digits in an increase.
Hi! this is my first post as i'm starting the programming career. First of all, English is not my first language so i'm not really familiar with the tech terms yet...
I've come to my first assignment and i'm doing really good, but i cant get to print three digits.
I'm trying to generate different combinations for car license plates (I'm not sure if that's what you call them). Car plates in Argentina are a combination of three digits and three letters. I've been able to print the different letter combinations but i'm having a hard time printing the three digit numbers.
for(patenteNumeros = 000; patenteNumeros <= 999; patenteNumeros++){
I need to increase from 000 to 999, but i cant get to print the whole "000" it just only prints "0" and adds a second digit when gets to 10 and a third one at 100 up to 999.
Does anyone know how to get to print the three digits on the console?
sorry if i didn't make it really clear.
Thank you!!