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,
What is the process if I want to know w

View Tutorial          By: Koushik Roy at 2012-07-13 05:35:35

2. can any one share the link for downloading the fir
View Tutorial          By: jay at 2012-01-17 14:21:28

3. very useful...thank you....
View Tutorial          By: jiby at 2012-01-19 06:40:42

4. Thank you so much
View Tutorial          By: Daniel at 2011-02-14 22:47:05

5. I have compiled by keeping all the points in mind
View Tutorial          By: Sweety at 2011-03-09 22:29:18

6. How to delete file button
View Tutorial          By: Chinzoo at 2013-04-13 13:30:18

7. /** Example shows garbage collector in action

View Tutorial          By: sreekar at 2010-05-08 07:58:09

8. Dear admin,
your Recaptcha design is not go

View Tutorial          By: surendra kumar sharma at 2013-02-02 05:58:35

9. very good helped me a lot
View Tutorial          By: Swaran at 2009-12-30 09:51:36

10. nice!!!!
View Tutorial          By: svk at 2013-01-17 19:59:05