Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: two dimensional matrix that returns back a boolean.

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default two dimensional matrix that returns back a boolean.

    Can someone please help me write a method coding that accepts a two dimensional integer array as the argument and returns true if the array or matrix is left or right triangular matrix. Needing to test this method using main method. Anyhelp is appreciated.
    If true it is a triangular matrix if false it is not


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: two dimensional matrix that returns back a boolean.

    left or right triangular matrix
    Can you define the above?
    Then take that definition and write out the steps you would use to apply that definition to a specific array to determine if the definition fits.
    Then write the java code to follow those steps.
    When you have problems writing the code or getting it to work, post your questions and code here.
    Some one will help you.

Similar Threads

  1. Implementing a two-dimensional boolean array
    By eNxy in forum What's Wrong With My Code?
    Replies: 40
    Last Post: July 16th, 2011, 06:30 AM
  2. Problem printing a two dimensional boolean array
    By sallyB in forum What's Wrong With My Code?
    Replies: 10
    Last Post: June 23rd, 2011, 03:56 PM
  3. Two-dimensional boolean array?
    By tcmei in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 17th, 2011, 08:32 PM
  4. returns all suggestions
    By mario_tim in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 26th, 2011, 04:51 AM
  5. Boolean method returning a boolean value
    By Deprogrammer in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 21st, 2010, 10:56 AM