Design and develop Multiplication table in Net beans

Design and develop Multiplication table in Net beans

Design and develop a program that will print a multiplication table. The program should: Ask the user for ending number than it must Display that particular multiplication table.

View Answers

March 22, 2012 at 10:16 AM

import java.util.Scanner;

class Multiplication
{
public static void main(String args[])
{
int n;
System.out.print("Enter the number whose table is to be displayed: ");
Scanner in = new Scanner(System.in);
n = in.nextInt();
for(int i=1;i<=10;i++){
    System.out.println(n*i);
}
}
}









Related Tutorials/Questions & Answers:
Multiplication table
Multiplication table Net Beans  Using Net beans Design and develop... for ending number than Display that particular multiplication table   import java.util.Scanner; class Multiplication { public static void main
Multiplication table
Multiplication table  Using Net beans Design and develop a program... number than Display that particular multiplication table   import java.util.Scanner; class Multiplication { public static void main(String args
Advertisements
Multiplication table
Design and develop Multiplication table in Net beans  Design and develop a program that will print a multiplication table. The program should: Ask... table.   import java.util.Scanner; class Multiplication { public static
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
net beans
net beans  how to calculate electric bill,units,load in net beans and how to insert this calculated bill ,unit and load into database and how this calculate value comes on GUI
NET BEANS
NET BEANS  My problem is when i am going to install net beans then it showing the problem that JDK6 or JDK5 is required for installing net beans IDE,but in actually I've already installed the jdk5,I do not know why
net beans
net beans  Write a JAVA program to read the values of an NxN matrix and print its inverse
net beans
net beans  Write a JAVA program to parse an array and print the greatest value and the number of occurrences of that value in the array. You can initialize the array random values in the program without the need to read them
net beans
net beans  Write a JAVA program to validate the credit card numbers using Luhn Check algorithm. You will need to search the Internet to understand how the algorithm works.   Hi Friend, Try the following code: import
net beans
net beans  Write a JAVA program to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume there are 5 questions in the test. Your program should finally print
How to Create Multiplication Table from 1 to 10?
How to Create Multiplication Table from 1 to 10?  Hi, I want to develop an small application store products. So, i how to create multiplication table 1 to 10. Please suggest online example related to creating multiplication
print the multiplication table up to one
print the multiplication table up to one  My problem is that I have...; System.out.println("Enter an integer to print it's multiplication table...(); System.out.println("Multiplication table of "+n+" is :-"); for ( c = 1 ; c <= 10
NET BEANS - IDE Questions
NET BEANS  hi i am new to net beans and wants to use net beans 6.5 can any body tell me how can i learn completely about it..if any body have resources abt it plz send me at [email protected]  Hi i am
Design and develop entity EJBs
Design and develop entity EJBs... components Next    Design and develop entity EJBs... exists, select additional enterprise beans from the list to add a leaf table
net beans 4
net beans 4  Write a JAVA program to read an initial two number x1 and x2, and determine if the two numbers are relatively prime. Two numbers are relatively prime. Two numbers are relatively prime if the only common factor
Beans in Swings table
Beans in Swings table  Hi Sir/Madam.... I am Trying Develop an Swing from which include an table which displays the data from mysql table and i am... the table with that textfield values... The thing is it will be having multiple
Design and develop message-driven EJBs
Design and develop message-driven EJBs Prev Chapter 1. Design, build and test reusable enterprise components Next    Design and develop message
Design and develop custom tags
Design and develop custom tags Prev Chapter 2. Design, build and test web components Next    Design and develop custom tags Custom
Design, develop and test JSPs
Design, develop and test JSPs Prev Chapter 2. Design, build and test web components Next    Design, develop and test JSPs Creating
Where is servlet log file in net beans?
Where is servlet log file in net beans?  When you use context.log("some string"); then the string get written into the servlet log file. But where is the servlet log file in netbeans? I am using netbeans 6.9. I can't locate
How to add image in panel as background in net beans IDE?
How to add image in panel as background in net beans IDE?  How to add image in panel as background in net beans IDE
sample application using hibernate and wicket framework in net beans IDE
sample application using hibernate and wicket framework in net beans IDE  where can i get sample applications/ projects using hibernate and wicket framework in net beans IDE
how to run audio files in net beans using j2me
how to run audio files in net beans using j2me  i am running the audioMidlet in net beans. Now where should i place the .wav files inorder to play them
Create Multiplication Table from 1 to 10
Create Multiplication Table in Java In this section, you will learn how to create multiplication table from 1 to 10. For this purpose, we have created 2-dimensional Array 'array[][]' and using the for loop, we have stored the product
multiplication
multiplication  multiplication of two number numbers entered by user minimum 100digits using GUI   Java Multiplication of two 100 digits number import java.awt.*; import java.math.*; import javax.swing.*; import
multiplication
multiplication  multiplication of two number numbers entered by user minimum 100digits using GUI   Java Multiplication of two 100 digits number import java.awt.*; import java.math.*; import javax.swing.*; import
jsp directory created in net beans but not able to access
jsp directory created in net beans but not able to access  File f = new File (config.getServletContext().getRealPath("/") + "artists/" +username); f.mkdir(); File video = new File (config.getServletContext().getRealPath
java Using net beans - Java Beginners
java Using net beans  Dear Sir, I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i
java Using net beans - Java Beginners
java Using net beans  Dear Sir, I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i
java Using net beans - Java Beginners
java Using net beans  Dear Sir, I just like to ask why i cant add a data to the answer you have given me last time where i have to pick the data of the student like id , name , class , age & address using netbeans jframe then i
Java programming or net beans - Java Beginners
Java programming or net beans  Help with programming in Java? Modify the dog class to include a new instance variable weight (double) and the Cat class to include a new instance variable coatColor (string). Add the corresponding
solution for mapping hibernate and pojos from net beans through database
solution for mapping hibernate and pojos from net beans through database  hii I am currently using netbeans 8.0.2 have created small standalone... include which table i an gona use Then I create new package emp.util
PROJECT ON JAVA NET BEANS AND MYSQL !! PLEASE HELP URGENT
PROJECT ON JAVA NET BEANS AND MYSQL !! PLEASE HELP URGENT  i need a project based on connectivity..it can be based on any of the following topics 1.for calculating income tax. 2.for pf calculation 3.hospital management 4.students
Javascript Fixed Header in A table - Design concepts & design patterns
. My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table... header with the name should be fixed and data to be scrolled down.my table header
Mysql Multiplication Columns
simply create a table 'Multiplication' with required fieldname and datatype... Multiplication: mysql> CREATE TABLE Multiplication... The Query for inserting a records or rows to the table 'Multiplication
Mysql Multiplication Columns
a table 'Multiplication' with required fieldname and datatype respectively.    ADS_TO_REPLACE_2     Query for creating table name Multiplication:ADS_TO_REPLACE_3 mysql> CREATE TABLE Multiplication
how to generate PDF file using JSP with net beans
how to generate PDF file using JSP with net beans  I am trying to generate PDF file using JSP. I even added itext5.0.6 jar file in library. It shows the following errors... PLz anyone help me. Its urgent.... compile-jsps
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???  How can change Button Label value Every Time when i start Virtual Keyboard, Means ,if 1st time Button1=''a'' then next login time
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???  How can change Button Label value Every Time when i start Virtual Keyboard, Means ,if 1st time Button1=''a'' then next login time
Matrix multiplication
Matrix multiplication  program to read the elements of the given two matrices of order n*n and to perform the matrix multiplication
Which is better .Net or Java?
When a developer needs to choose between Java or .NET to develop a new... and differences that exist between them. Microsoft .NET is a framework that can be used to develop software and application on client server. It is used
ModuleNotFoundError: No module named 'multiplication'
ModuleNotFoundError: No module named 'multiplication'  Hi, My... named 'multiplication' How to remove the ModuleNotFoundError: No module named 'multiplication' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'multiplication'
ModuleNotFoundError: No module named 'multiplication'  Hi, My... named 'multiplication' How to remove the ModuleNotFoundError: No module named 'multiplication' error? Thanks   Hi, In your python
Photoshop Table Lamp Example
Photoshop Table Lamp Example       How to design a table lamp? This tutorial will help you in learning the steps to design a table lamp. This design has been made
Multiplication problem - Java Beginners
Multiplication problem  I am facing a peculiar problem in java regarding a multiplication. Please see below: 19300 * 0.001 = 19.3 19400 * 0.001 = 19.400000000000002 (why is this ??) 19500 * 0.001 = 19.5 Can anybody help
Parallel multiplication matrix in java
Parallel multiplication matrix in java  hello dear I need parallel multiply matrix in java algorithm to account speed up and efficiency great wishes

Ads