Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. [SOLVED] Re: Completely clueless as to how to do this assignment.

    I have no idea what you are trying to do but you certainly cannot assign an int value to a String variable. Either mhr should be an int or you need to convert the result of (220 - age) to a String...
  2. [SOLVED] Re: Completely clueless as to how to do this assignment.

    I also advised you against posting links to unreadable images. You can compile your code on the command line or your IDE should have a window called "Console" or similar that will display the full...
  3. [SOLVED] Re: Completely clueless as to how to do this assignment.

    Would you mind posting the error. That is three times I have asked now. If you really want my help you are not going about it the right way.
  4. [SOLVED] Re: Completely clueless as to how to do this assignment.

    mhr = (220 - age );


    In post 4 I ask you to post any error messages you get. Surely that line gives you an error. Surely you can work out why.
  5. [SOLVED] Re: Completely clueless as to how to do this assignment.

    Still not a question.

    I hate to harp on about this but it is basic communication skills that you will need to develop and use throughout your life.
  6. [SOLVED] Re: Completely clueless as to how to do this assignment.

    Do you have a specific question? If you are getting errors then copy and paste them here.

    BTW do not expect people to follow links to find information. Especially when it is a tiny unreadable...
  7. [SOLVED] Re: Completely clueless as to how to do this assignment.

    One step at a time. Surely you can do


    //Prompt user for input

    When you have compile and run the code to make sure it works. If it does move onto the next step.
Results 1 to 7 of 7