Thanks for the site Staticity!
I really enjoy programming, I just wish I understood it better. I will definitely watch the videos though.
Type: Posts; User: whome
Thanks for the site Staticity!
I really enjoy programming, I just wish I understood it better. I will definitely watch the videos though.
yea, I saw and yes it is for a school program, but using the second method was not allowed in my code, therefore irrelevant to what I was asking for.
haha, yea I have read this several times. I am super new to programming and am not real good with using asterisks at all.
clearly this is butchered, but I am thinking it should look something like this:
System.out.println();
System.out.println("SALES BAR CHART");
for( char * = 100; int store1 = 0...
Thanks for that!
The asterisk is where I am stuck. Sales have to be in increments of $100 and declaring one to equal 100 is where I am having problems.... I am thinking a for loop?
Or is it...
This is what I have so far...... not sure how to print out the asterisks from this point
int store1;
int store2;
int store3;
int store4;
int store5;
char "*";
...
basically I have setup the code asking for the total sales for each store, and I know I need to use a loop to print out the asterisks, just not real sure how to do that for each $100 sold.
I am trying to write code that prints out asterisks for a given number of sales. For instance, if a companies sales are $1,000 it prints out 10 asterisk, $500 and then 5 asterisks.
I just not...