Instructions from your teacher:   Print multiplication tables for numbers from 1 to 10.   You should use for loop.   The output should look like this. (You have to print the whole tables). 1 x 1 = 1 1 x 2 = 2 . . . 1 x 10 = 10 --------------------------- 2 x 1 = 2 2 x 2 = 4 . . . 2 x 10 = 20 --------------------------- . . . --------------------------- . . . 10 x 9 = 90 10 x 10 = 100 -----------------------------     class Main { public static void main(String[] args) { } }

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter5: Looping
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
Instructions from your teacher:
 
Print multiplication tables for numbers from 1 to 10.
 
You should use for loop.
 
The output should look like this. (You have to print the whole tables).
1 x 1 = 1
1 x 2 = 2
.
.
.
1 x 10 = 10
---------------------------
2 x 1 = 2
2 x 2 = 4
.
.
.
2 x 10 = 20
---------------------------
.
.
.
---------------------------
.
.
.
10 x 9 = 90
10 x 10 = 100
-----------------------------
 
 
class Main {
public static void main(String[] args) {
}
}
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Matrix multiplication
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage