Comment on Tutorial - for loop in java By Abinaya



Comment Added by : Hannah Jambalos

Comment Added at : 2014-09-03 12:07:34

Comment on Tutorial : for loop in java By Abinaya
Write a times table programme. The programme should ask a user to input a number. This number is then used as the times table. So if the user enters 10, the 10 times table should be displayed. Your Output window should look something like this, when your programme is run.

Output of a Java Times Tables programme is run:
Which times table do you want?
10
1 times 10 = 10
2 times 10 = 20
3 times 10 = 30
4 times 10 = 40
5 times 10 = 50
6 times 10 = 60
7 times 10 = 70
8 times 10 = 80
9 times 10 = 90
10 times 10 = 10


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi! Sir.I am anish from Sultanpur.I want to Know t
View Tutorial          By: Anish at 2014-12-10 08:23:49

2. Hi Shreya, in Linux, the COM ports are identified
View Tutorial          By: Ramlak at 2008-06-23 03:34:11

3. How to return values when there may be muliple row
View Tutorial          By: asd at 2013-11-22 01:24:47

4. hi ,
i am a beginner in java. please tell m

View Tutorial          By: aun at 2011-11-18 06:47:56

5. can u please send me the code for sending sms from
View Tutorial          By: Vicky at 2008-03-20 02:34:27

6. please show many codes in c++....thankZz
View Tutorial          By: Maybelline Hope Bongolan at 2008-08-20 17:50:51

7. I'm having trouble figuring out how to sign my mid
View Tutorial          By: Patrick Somers at 2011-04-04 14:54:45

8. Hi,first of all thats for this code developer, its
View Tutorial          By: Kathir at 2008-02-08 06:16:51

9. good job
by- shiv at 2010-11-26 11:51

View Tutorial          By: shiv kumar bind at 2010-11-25 23:20:28

10. Hallo every one. I am working on my project in j2m
View Tutorial          By: radhe at 2010-12-14 08:08:25