Monday, February 11, 2008
Table of a Given Number : Java Example
Tableexample{
public static void main(String[] args) {
int a=5, b=1;
System.out.println("table of "+a+"= ");
while(b<=10){
int c = a*b;
System.out.println(c);
b = b+1;
}
}
}
Subscribe to:
Post Comments (Atom)
1 comments:
Before
Tableexample {
Write "class".
Vladimir
Post a Comment