hello everyone
char c,g;
for(i =0; i <1; i++)
{
c=(rand()%1) + 'A';//i know if i set the rand() function like this
g=(rand()%1) + 'a';//when i cout ill only get 'Aa'
}
cout << c << g
i want to generate a capital A and a lower case a
my output should be AA,Aa,aa it can not be aA i dont know how to restrict it form doing that
i honestly thought about doing a character Array