answersLogoWhite

0

class table

{

public static void main(String args[])

int n=2;

System.out.println("Table of " + n + " is :");

int result;

for (int a = 1; a <= 10; a++)

{

result = n * a;

System.out.println(result);

}

}

Read more: http://wiki.answers.com/Write_a_java_program_to_display_the_multiplication_table_for_a_given_integer_upto_10_using_for_loop#ixzz1jdhQDo8f

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Write a problom that can be solved by making a table and using a pattern Then solve the problem?

You can draw a flowchart of solving a particular problem and then write a program to solve that problem.


Write a c programme to draw a rainbow?

Write a C program to Draw a RAINBOW and fill the suitable colors ...


Write a java code to draw a circle inside in an ellipse?

write a program draw circle and ellipse by using oval methods in java


How to write a Program in C language to draw a house?

here you go nah...


How do you draw event table in software engineering?

You could use a drawing program to help out. The right program can help to make the job easier.


Which option is used to draw a table?

Youcan draw out a blue peint of the table that you want to draw.


Write a program in 8086 assembly language to draw a circle?

You need an 8086 assembly language pencil.


How do you square a number smaller than 1?

-- Write it down. -- Write it again, directly under the first one. -- Draw a line under them. -- Perform the multiplication, just like any other two decimals.


When gathering resources for the research process it pays to?

write down the facts. Form an equation. Organize into a table. List potential formulas. Draw a diagram.


When Draw a flow chart of table 2?

in loop when draw a flow chart of table 2


How do you remember your 3 times table?

To remember the 3 times table, you can practice it regularly through repetition, use flashcards or mnemonic devices, and try to understand the patterns and relationships within the numbers. It can also be helpful to visualize groups of threes or draw a multiplication chart to reinforce the multiplication facts.


What does custom aim draw and program have in common?

Custom program Aim and draw have in common