Search:

Type: Posts; User: Hawks

Search: Search took 0.08 seconds.

  1. Replies
    12
    Views
    1,494

    Re: Java Cupcake Counter Help

    Thank you for the help, I figured it out finally.
  2. Replies
    12
    Views
    1,494

    Re: Java Cupcake Counter Help

    72 and 74 state "illegal state of expression" if that is what you are asking.

    My problem is I do not know how to express the correct variables together for example to find out the total Sales...
  3. Replies
    12
    Views
    1,494

    Re: Java Cupcake Counter Help

    Norm I am getting the message:

    "Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
    at...
  4. Replies
    12
    Views
    1,494

    Re: Java Cupcake Counter Help

    I know it doesn't work. I am new to java... thats the reason I posted here for tips and help.

    Thanks
  5. Replies
    12
    Views
    1,494

    Re: Java Cupcake Counter Help

    I currently have this


    public static void main(String[] args) {

    //Initialize Variables
    int totalDollarSales = 0;
    int numberCupcakesSold = 0;
    int...
  6. Replies
    12
    Views
    1,494

    Java Cupcake Counter Help

    Hello everyone,

    I am in need of help in creating loop for the following scenario. I am new to java and have I am currently stuck on this one.


    1 - one individual cupcake sold (for $2)
    3 - a...
  7. Thread: Beginner Help

    by Hawks
    Replies
    5
    Views
    1,330

    Re: Beginner Help

    This is in my command window as of right now.


    //Create a Scanner for Input
    Scanner input = new Scanner(System.in);

    //Pick aRandomNumber between 0 and 2
    int computerNumber =...
  8. Thread: Beginner Help

    by Hawks
    Replies
    5
    Views
    1,330

    Re: Beginner Help

    I am having a problem with the command asking me to pick a number (0-2). It always fails. Sorry if this is a bad explanation, I am new to Java.
  9. Thread: Beginner Help

    by Hawks
    Replies
    5
    Views
    1,330

    Beginner Help

    Hey guys this is my first post. I am fairly new to Java and it would be much appreciated if I could get some help.

    I am trying to solve this homework problem.
    Game: scissor, rock, paper) Write a...
Results 1 to 9 of 9