Search:

Type: Posts; User: whome

Search: Search took 0.11 seconds.

  1. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    Thanks for the site Staticity!

    I really enjoy programming, I just wish I understood it better. I will definitely watch the videos though.
  2. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    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.
  3. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    haha, yea I have read this several times. I am super new to programming and am not real good with using asterisks at all.
  4. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    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...
  5. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    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...
  6. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    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 "*";
    ...
  7. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Re: Asterisks

    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.
  8. Thread: Asterisks

    by whome
    Replies
    15
    Views
    1,985

    Asterisks

    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...
Results 1 to 8 of 8