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. Hello to Every one!! :-),HERE I'AM NOT WRITING A C
View Tutorial          By: Pulkit Malviya at 2012-08-26 14:56:18

2. very nice notes we are easy to understand this not
View Tutorial          By: maalu at 2013-04-29 07:06:56

3. thank you so much. i've been fixing this problem o
View Tutorial          By: yo at 2011-06-05 13:25:37

4. Hello,
I am not getting any output.

View Tutorial          By: Niket DOshi at 2015-05-01 03:03:49

5. are you have java code to read sms from gsm modem,
View Tutorial          By: ronized at 2009-01-01 20:36:24

6. Hi sir,
please send some sample code for sp

View Tutorial          By: hindu at 2013-03-21 06:00:09

7. Very good basic example. Thanks a lot.............
View Tutorial          By: satish at 2010-04-15 05:39:41

8. Good tutorial.
View Tutorial          By: Pinky at 2010-03-11 10:42:49

9. Good
View Tutorial          By: sandesh at 2009-10-01 01:15:29

10. Nice Explanation.....
View Tutorial          By: Vinoth at 2012-06-20 09:37:21