Be sure to use nested loops, functions, and text file.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Be sure to use nested loops, functions, and text file.

Post by answerhappygod »

Be sure to use nested loops, functions, and text file.
Be Sure To Use Nested Loops Functions And Text File 1
Be Sure To Use Nested Loops Functions And Text File 1 (1.01 MiB) Viewed 52 times
Write a C++ program to display the multiplication table similar to below. 1. (4 points) you need to use nested loop and create functions in your program to reduce the size of your main function). 2. (2 points) you need to save this multiplication table in a text file. MULTIPLICATION TABLE 1x 2x 3x 4X 1 x 1 = 1 2X1 3 x 1- 4 x 1 5 x 1 = 5 6 x 16 7x1.7 8x18 9 x 1 = 9 10 x 1 = 10 11 x 1 = 11 12 x1 = 12 1 x 2 = 2 2 x 2 =4 3 x 2 = 6 4 x 2.8 5 x 2-10 6 x 2 = 12 7 x 2 = 14 8 x 2 = 16 9 x 2 = 18 10 x 2 = 20 11 x 2 = 22 12 x 2 = 24 1 x 3 = 3 2 x 3 = 6 3 x 3.9 4 x 3 = 12 5 x 3 =15 6 x 3 = 18 7 x 3 = 21 8 X 3 = 24 9 x 3.27 10 x 3.30 11 x 3 = 33 12 x 3 = 36 1 x 4 = 4 2 x 4 = 8 3 x 4 = 12 4 x 4 = 16 5 X 4 20 6 x 4 = 24 7 x 4 - 28 8 X 4 = 32 9 x 4 = 36 10 X 4.40 11 x 4 = 44 12 x 4 = 48 5x6x 7X 8x 1 x 5 = 5 2 x 5-10 3 x 5 = 15 4 x 5 = 20 5 x 5 = 25 6 X 5 = 30 7 x 5 35 8 x 5 – 40 9 x 5 = 45 10 x 5 = 50 11 x 5 = 55 12 x 5 = 60 1 x 6 - 6 2 x 6 = 12 3 x 618 4 x 6.24 5 x6 =30 6 x 6 = 36 7 x6 = 42 8 x 6 = 48 9 x 6 = 54 10 x 6 = 60 11 x6 = 66 12 x 6 = 72 1 x 7 = 7 2 x 7 = 14 3 x 7 = 21 4 x 7.28 5 x 7 = 35 6 x 7 = 42 7 x 7 = 49 8 x 7 = 56 9 x 7 = 63 10 x 7 = 70 11 x 7.77 12 x 7 = 84 1 x 8 = 8 2 x 8 = 16 3 x 8 = 24 4 x 8 = 32 5 x 8.40 6 x 8 = 48 7 x 8 = 56 8x8 = 64 9x8 = 72 10 X 8.80 11 x 8 = 88 12 x 8 = 96 9XTOX Ilx 128 1 x 99 2 x 9 - 18 27 x9 = 36 5 x 9.45 6x9.54 7x9 = 63 8 x 9 - 72 9x9.81 10 X 9 = 90 11 x 9 = 99 12x 9 . 108 1 x 10 = 10 2 x 10-20 3 x 10 = 30 4 x 10 = 40 5 x 10 = 50 6 x 10-60 7 x 10 = 70 8 x 10 = 80 9 x 10 = 90 10 x 10 = 100 11 x 10 = 110 12 x 10 = 120 1 x 11 - 11 2 x 11 - 22 3 x 11 = 33 4 x 11 = 44 5 x 11 55 6 x 11.66 7 x 11.77 8 x 11 - 88 9 x 11 - 99 10 X 11 - 110 11 x 11 - 121 12 x 11 - 132 1 x 12.12 2 x 12 - 24 3 x 12 = 36 4 x 12 = 48 5 x 12 = 60 6 x 12.72 7 x 1284 8 x 12 = 96 9 x 12 = 108 10 x 12 = 120 11 x 12 = 132 12 x 12 - 144
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply