lundi 18 juillet 2016

Print a character a random number of times in C

Im trying to print a character a random number of times. I know that to print a random character I can type the code bellow but I cant get my head around this problem.Thanks!!!

RANDLOWER = rand() % 26 + 'A'; printf("%c ", RANDLOWER);




Aucun commentaire:

Enregistrer un commentaire