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 can u send me the complete working code for sen
View Tutorial          By: Brajesh at 2011-04-21 03:07:40

2. Error loading SolarisSerial: java.lang.Unsatisfied
View Tutorial          By: Rahul at 2008-09-09 04:05:35

3. good
View Tutorial          By: pardhuman at 2011-06-24 08:18:15

4. very brief and easy to understand description of R
View Tutorial          By: moona at 2010-05-26 22:49:26

5. i want to learn the java from basics onwards.
View Tutorial          By: vinay at 2010-03-08 22:54:15

6. how to use isset keyword with multidimensional arr
View Tutorial          By: mehul at 2015-01-19 23:47:02

7. fantastic
make something like this

View Tutorial          By: jyoti maheshwari at 2009-03-27 22:15:36

8. it works! thanks! :D
however I would like t

View Tutorial          By: john at 2012-11-15 10:50:33

9. plz send me some interview based simple java progr
View Tutorial          By: Abilesh at 2013-06-23 06:43:03

10. I want a code to receive message from GSM modem us
View Tutorial          By: Mayur at 2011-04-05 00:00:05