multiplication table


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: multiplication table

  1. #1
    Join Date
    Aug 2006
    Posts
    3

    multiplication table

    i need a java program about multiplication table.. the computer science problem of writing an applet that would visualize the multiplication table.

    need help fren....

  2. #2
    Join Date
    Oct 2004
    Posts
    151
    Hi everyone,

    You have to provide more details of the program, is it just to output a multiplication table from 1-12, or user defined, which is it? More info

    Richard West
    What type of softwares do you like and what would you pay for it?

    http://www.wizardsolutionsusa.com/fo...hread.php?t=12

  3. #3
    Join Date
    Aug 2006
    Posts
    3
    we need java applet?

  4. #4
    Join Date
    Oct 2004
    Posts
    151

    Question

    Hi everyone,

    Quote Originally Posted by jheng
    we need java applet?
    What's with the question mark, its your question not mine.
    What is it your question exactly about?

    If you want a times tables then just do a loop with a bidimenensional array

    Code:
    Array[12][12];
    int i = 0, j = 0;
    
    for(i=0;i<12;i++)
    {
    for(j=0;j<12;j++)
    Array[i][j] = ((j+1) * (i +1));
    }
    }
    From the above code you can get the entire Times Table of 1-12 in the array, and now all you have to do is plug it into the applet.

    Richard West
    What type of softwares do you like and what would you pay for it?

    http://www.wizardsolutionsusa.com/fo...hread.php?t=12

Similar Threads

  1. Database Design Help needed
    By Brian Pittman in forum Database
    Replies: 2
    Last Post: 04-29-2007, 08:23 AM
  2. Print Multiplication Table
    By kiwidaddy in forum C++
    Replies: 1
    Last Post: 08-15-2006, 12:10 AM
  3. Attn: Daniel Reber
    By joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:25 PM
  4. Re: (No subject)
    By Joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:13 PM
  5. Replies: 2
    Last Post: 04-13-2000, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center