I have a question about that I would greatly appreciate if someone with knowledge could answer. In C, is it valid to print a character times a variable?
For example (spaces and stories are both integers):
printf(" " * spaces);
printf("#" * stories);
In case anyone is confused, in the first printf, I was trying print out multiple spaces. I've included the CS50 library but I still keep getting errors about these lines. Do they need to be written a different way or is this method simply invalid?