Write a program using for loop that generates a multiplication table for any integer (given by the user) up to any multiple (also given by the user). Your output should be similar to what is given in the sample below. Sample Output >> exercise19 Enter the number for which you want to create the multiplication table: 91 Enter the number up to which multiplication table is required: 5 91 X 1 = 91 91 X 2 - 182 91 X 3 = 273 91 X 4 = 364 91 X 5 = 455 >>

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter4: Control Structures I (selection)
Section: Chapter Questions
Problem 18PE: One way to determine how healthy a person is by measuring the body fat of the person. The formulas...
icon
Related questions
Question
than 10, nence y(5)
-1.78 which is evaluated according to the expression y = 4sin (x) cos (x)
since x(6) is 18.30 which is greater than 10, hence y (6) - -1.78 which is evaluated -according to the expression y = 4sin (x) cos (x)
Since x(7) is 5.60 which is less than or equal to 10, hence y(7) = -0.37 which is evaluated according to the expression y = 3sin (5x) cos (3x)
>>
EXERCISE 19
Write a program using for loop that generates a multiplication table for any integer (given by the
user) up to any multiple (also given by the user). Your output should be similar to what is given
in the sample below.
Sample Output
>> exercise19
Enter the number for which you want to create the multiplication table: 91
Enter the number up to which multiplication table is required: 5
91 X 1 = 91
91 X 2 = 182
91 X 3 = 273
91 X 4 = 364
91 X 5 = 455
>>
MacBook
80
888
DII
DD
F2
F3
F5
F7
FB
F9
F12
Transcribed Image Text:than 10, nence y(5) -1.78 which is evaluated according to the expression y = 4sin (x) cos (x) since x(6) is 18.30 which is greater than 10, hence y (6) - -1.78 which is evaluated -according to the expression y = 4sin (x) cos (x) Since x(7) is 5.60 which is less than or equal to 10, hence y(7) = -0.37 which is evaluated according to the expression y = 3sin (5x) cos (3x) >> EXERCISE 19 Write a program using for loop that generates a multiplication table for any integer (given by the user) up to any multiple (also given by the user). Your output should be similar to what is given in the sample below. Sample Output >> exercise19 Enter the number for which you want to create the multiplication table: 91 Enter the number up to which multiplication table is required: 5 91 X 1 = 91 91 X 2 = 182 91 X 3 = 273 91 X 4 = 364 91 X 5 = 455 >> MacBook 80 888 DII DD F2 F3 F5 F7 FB F9 F12
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Constants and Variables
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage