ok so i need a bit of help starting the last problem on my hw (just starting it not doing it) the program we have to make is a row header generator for a k-map with a variable input up to 5 numbers in the header (however the order of the rows doesn't matter because we all agreed ordering by that was well above our class level). Ex. user enters 2 for row variables the program displays
"00
01
11
10"
Like i said im just confused as to what to physically do to even start this and i just need a couple jumpers to get the brain going. but i dont wanna upset anyone so ill post what code i do have.

Code:
#include<stdio.h>
#include<math.h>
main(void)
{
 int a;
printf("Number of Row Variables?:  ");
scanf("%d", &a);
Thanks guys just not sure where to start