Search:

Type: Posts; User: tripline

Search: Search took 0.44 seconds.

  1. Replies
    5
    Views
    1,654

    Re: Difficulty with method headers.

    how does vals(3, 2, 10, 4); and my int numbers different?
  2. Replies
    5
    Views
    1,654

    Re: Difficulty with method headers.

    public class ttt
    {
    public int vals(int a, int b, int c, int d)
    {
    a=3; b=2; c=10; d=4;
    int highest = a;
    if(b>highest)
    highest = b;...
  3. Replies
    5
    Views
    1,654

    Difficulty with method headers.

    Write only the method headers. Overload a method name, if appropriate.
    a. Calculate the largest of 2, 3, or 4 integer values.

    int val(int a, int b, int c ,int d)

    if (a > b && b > c && b > d)...
Results 1 to 3 of 3