Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    1,297

    [SOLVED] Re: Working with Methods

    What you posted for the program's output was confusing: 50 kilograms is 50.0 pounds

    Glad you got it working.
  2. Replies
    13
    Views
    1,297

    [SOLVED] Re: Working with Methods

    Do the methods return the correct values?

    The above does not look correct.

    What is this variable for: dKilogramsFromPounds? It isn't used for anything.
  3. Replies
    13
    Views
    1,297

    [SOLVED] Re: Working with Methods

    Are these variable's values what you are seeing printed:

    nNum1 = 0;
    dNum2 = 0.0;

    If you don't want those values printed, remove the above statements from the method.
  4. Replies
    13
    Views
    1,297

    [SOLVED] Re: Working with Methods

    You've removed all the other code where the variables are defined.
    Who suggested that you remove all that code?
  5. Replies
    13
    Views
    1,297

    [SOLVED] Re: Working with Methods

    Look at the lines the method is to print. It has two numbers and some Strings.
    If you pass the two numbers to the method in the order they are to be put into the text of the message, then the only...
Results 1 to 5 of 5