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. Wow thx, this is really easy for me to understand
View Tutorial          By: brian at 2010-03-22 05:15:47

2. thanks it is nice
View Tutorial          By: Ajay at 2011-07-22 03:44:05

3. Thank You very much :)
View Tutorial          By: RaghuCK at 2010-09-09 13:53:26

4. @pooja: this method should work, although i'm sure
View Tutorial          By: Anush at 2012-07-16 08:30:58

5. really helpfull and gets all the stuff what u want
View Tutorial          By: yash at 2009-10-25 12:28:57

6. i have a problem .
i am getting an error ca

View Tutorial          By: chaitra at 2011-11-16 07:28:29

7. Thank you!!!!!
View Tutorial          By: wsjonly at 2013-09-19 18:41:50

8. Hello,
I am not getting any output.

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

9. #include<iostream>
#include<conio.

View Tutorial          By: XavioR at 2011-01-31 00:53:11

10. How to draw a thick circle in midlet?
View Tutorial          By: masi at 2011-12-01 11:47:00