The Artima Developer Community
Sponsored Link

Java Answers Forum
Hello i need your help

1 reply on 1 page. Most recent reply: Apr 8, 2010 10:43 PM by Vincent O'Sullivan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
yahya sofian

Posts: 1
Nickname: yayo
Registered: Apr, 2010

Hello i need your help Posted: Apr 8, 2010 6:09 AM
Reply to this message Reply
Advertisement
Q. Write a method that displays an n by n matrix using the following header:

public static void printMatrix(int n)

Each element is 0 or 1, which is generated randomly. Write a test program that calls this method to print a 3 by 3 matrix that may look like this:

0 1 0
0 0 0
1 1 1


this is the Q i have no idea how to do it please help me ASAP i must submit it 2moro

THANKS ALOT


Vincent O'Sullivan

Posts: 724
Nickname: vincent
Registered: Nov, 2002

Re: Hello i need your help Posted: Apr 8, 2010 10:43 PM
Reply to this message Reply
Doing your schoolwork for you will not help you. You need to help yourself by learning Java and solving this (very simple) problem yourself.

Come back with evidence that you've tried to solve the problem yourself and we'll help you with anything that you are still stuck with.

Flat View: This topic has 1 reply on 1 page
Topic: Can Someone Help Me? Previous Topic   Next Topic Topic: Web Services - Axis 1 Sending an Attachment

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use