Computer Science, asked by sunitagupta54637, 10 months ago

Write a JavaScript code to print tables of numbers from 1 to 10.

Answers

Answered by YQGW
4

Explanation:

for(let a = 1;a<10;a++){

for(let b = 1;b<10;b++){

document.write(a + "*" + b + " = " + a*b)

}

}

Answered by vikhyat04
1

Answer:

Java program for standalone application on BlueJ

Explanation:

public class Tables

{

public static void main()

{

for(int a = 1;a<=10;a++){

   for(int b = 1;b<=10;b++){

       System.out.println(a + "*" + b + " = " + a*b)

   }

}

Similar questions