write a JavaScript code to print tables of numbers from 1 to 10
Answers
Answered by
1
import java.util.*;
public class hello
{
public static void main ()
int i =1
Scanner sc=new Scanner(System.in);
System.out.println("the answer is ");
while(i<=10)
{
i++;
System.out.println(i);
}
}
}
public class hello
{
public static void main ()
int i =1
Scanner sc=new Scanner(System.in);
System.out.println("the answer is ");
while(i<=10)
{
i++;
System.out.println(i);
}
}
}
Similar questions