bar graph help
Hi all, just a quick question. How can i take a user inputed int and convert that to a visual repercenitive for a bar graph? like if the user inputs a "5", how can i convert that to ***** or #####. Basically im trying to make a bar graph and im losing my mind. lol
Are you sure you haven't skipped class?
int user_input = the number you got from the user;
/* Output a horizontal "bar" of user_input #'s, */
for (i = 0; i < user_input; i++)
/* then a newline to move to the start of next line. */
lol not a single day. ever since we went over functions i've been a little lost.