Search:

Type: Posts; User: lynn66

Search: Search took 0.25 seconds.

  1. Re: Pig Dice Game with the Computer / User Input

    Ok, I have worked the program out a little bit more. But when I run it it is not printing out the users name.

    My New Program is this:


    import java.util.Scanner;

    public class...
  2. Re: Pig Dice Game with the Computer / User Input

    Norm, because I am a beginner I am not sure how to do that. I tried to put something like
    private String usersName = ' '; but not sure how to ask the question.
  3. Re: Pig Dice Game with the Computer / User Input

    Yes, Only once.
  4. Re: Pig Dice Game with the Computer / User Input

    I commented it out because I think I need these statements in the code but I am not sure where I need to put them. I need to be able to ask the user their name at the beginning of the program and...
  5. Pig Dice Game with the Computer / User Input

    I have been working on this program for about a week now and I think I have it down pack. The issue I am having when I ask the user at the beginning of the game (human vs computer) every time I run...
  6. Replies
    3
    Views
    302

    Re: Investment Calculator

    Yes, absolutely.

    My output should look something like this...



    Percent gain / loss: 250.0%
    Amount gain / loss: $125,000.00
  7. Replies
    3
    Views
    302

    Investment Calculator

    I think I have a cluster of a mess here and was wondering if someone could help me in the right direction. I am trying to write a small program that will calculate the gain and/or loss of the sale of...
  8. Re: CounterTester.java Not Decreasing in the counter????

    Ok GregBrannon, Thank you for your response. I made the changes but the errors that pop up is that the system wants to make them 'static'. Is that right?
  9. Re: CounterTester.java Not Decreasing in the counter????

    Ok. so I just added
    int i inside the (). I actually looking at it not I already had it once as a method. My output after making the change looks like this:


    Expected Count: 1 -----> Actual...
  10. CounterTester.java Not Decreasing in the counter????

    I believe I have this program CounterTester.java down but in my output the program is increasing the way I want it to but it is not decreasing the way I want it to.

    :confused:

    Would someone...
  11. Replies
    8
    Views
    249

    [SOLVED] Re: Temperature Calculation Code Java

    Just wanted to let you know I solved the problem. Thank you for your help.
  12. Replies
    8
    Views
    249

    [SOLVED] Re: Temperature Calculation Code Java

    Thank you for your direction.
  13. Replies
    8
    Views
    249

    [SOLVED] Temperature Calculation Code Java

    Hello, I am trying to create a java file that will print out the temperature in Fahrenheit. This is my code.

    import java.util.Scanner;

    public class TemperatureConverter
    {

    public static...
Results 1 to 13 of 13