Search:

Type: Posts; User: captianjaax

Search: Search took 0.12 seconds.

  1. Replies
    8
    Views
    2,065

    Re: nested loop structure

    This is just my opinion but,
    To his defense, I don't think this is "spoon feeding" or whatever you wanna call it. I wrote the code, just had a line wrong and he identified it. Its not like I ...
  2. Replies
    8
    Views
    2,065

    Re: nested loop structure

    This is awesome, thank you!
  3. Replies
    8
    Views
    2,065

    Re: nested loop structure

    thank you copeg, you are right, i did have set as a single line
  4. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    thank you again for your help norm, i got a 100% on that assignment based on all your help! sending more thank yous!
  5. Replies
    8
    Views
    2,065

    Re: nested loop structure

    What I am trying to do it print out a line based upon the number the user inputs. When a user inputs a number, it is supposed to print off that manylines of asterisks. An example of the output I am...
  6. Replies
    8
    Views
    2,065

    nested loop structure

    Hello guys,

    I am trying to make a code using a nested loop structure. How would I input a number and the output would be one line of asterisk?
    I am trying to get my code to have an output like...
  7. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    thank you very much for all your help, i will keep working at it
  8. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    ok so i shouldn't have to repeat this code:


    System.out.print("Enter miles since tank was full (-999 to quit) ");
    milesdriven = input.nextDouble();
    while(milesdriven!=-999)
    {
    ...
  9. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    could u give me an example of what you mean? I am sorry i am just not up on the terms yet
  10. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    there will be different values for each, but whenever i try to put that in the code, eclipse will not take it. I just can't figure out where i would put
    totalmpg = totalgallons/totalmiles...
  11. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    should be total miles and total gallons
  12. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    i am not sure what u are asking me here, i'm sorry
  13. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    the user is supposed to enter a new set of numbers and have them recalculated based on the old "mpg this tank full" and "total mpg"

    The first set is correct, but those two outputs are supposed to...
  14. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    This is the output from Eclipse:

    Enter miles since tank was full (-999 to quit) 200.7
    Enter gallons used in refilling tank:16.3
    MPG this tankful: 12.31
    Total MPG: 12.31
    Enter miles since...
  15. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    sorry I did post this question on another forum yesterday, I found this one this morning and liked the layout a little better. Sorry for not making
    clear. Just trying learn java programming, and I...
  16. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    I believe is just supposed to be "miles so far" this is what the assignment says

    "Develop a Java application that will allow input of the miles driven and gallons used for each thankful. The...
  17. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    This second code is an Easter Egg hunt game. The user is supposed to have the ability to enter Q to quit the game, I do no understand how to put this in and where:



    import java.util.Scanner;
    ...
  18. Replies
    24
    Views
    1,741

    Re: Looking for help on two codes:

    After the first time through the loop, the mpgtank and totalmpg should be different, for some reason I can't get it to change:


    import java.util.Scanner;
    public class Lab5a {
    public static void...
  19. Replies
    24
    Views
    1,741

    Looking for help on two codes:

    Hello everyone, I am new to the forum, nice to meet you!

    I am new to java programming and I am still learning the ropes. I joined here hopefully to get good feedback.

    What I have here are two...
  20. Thread: Hello

    by captianjaax
    Replies
    1
    Views
    868

    Hello

    Hello everyone, nice to meet you. I am new to java programming and I am trying to learn all the terms and simple codes. I joined
    this site to hopefully get some good feedback and expand my...
Results 1 to 20 of 20