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. I have a website and i want to make a option to se
View Tutorial          By: rasel at 2011-11-26 15:50:49

2. You can have a look at the tutorial written by Era
View Tutorial          By: John Berger at 2011-03-26 09:24:22

3. What a wonderful site for beginners? Now I can pra
View Tutorial          By: Kafedha Rwezaula at 2010-06-03 04:39:59

4. it is perfectly working...
View Tutorial          By: Venkatesh at 2014-09-21 06:54:39

5. Can anybody send full code for sending and receivi
View Tutorial          By: Jayapal at 2010-08-12 11:41:38

6. I did this exactly.
In my case, the fix.php

View Tutorial          By: Manorasa at 2010-06-29 23:32:24

7. its very useful......to me
View Tutorial          By: dinesh at 2014-08-26 12:47:38

8. result = fact (n-1) * n;
i didn't got this

View Tutorial          By: praveen at 2011-08-07 20:22:09

9. Hii,,,i have a java server socket program and i wa
View Tutorial          By: prawinmasthan at 2012-01-13 08:38:35

10. really understandable
but 'm expecting with

View Tutorial          By: rajkumar at 2008-03-14 03:53:21