So I understand the point of void functions and functions in general but my professor assigned a lab that I am completely lost in, I missed around two weeks of the semester because I was hospitalized and in really bad shape mentally and physically. So basically end of semester is here and my professor is nice enough to let me take my time to finish these labs whenever I can until the semester ends.
Anyway the issue is I made this for the lab before this one, but unsure how to add a function that makes it spaced out so it makes the shape my professor is asking for.
> but unsure how to add a function that makes it spaced out so it makes the shape my professor is asking for.
Well you have a calculation like this. int stars = i + 1;
Now think about a similar expression int spaces = ?