Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is my code for part A I need help with part B Part B waltTable: C progrm to display maltiplication table for the entered

This is my code for part A I need help with part B
image text in transcribed
Part B
image text in transcribed
waltTable: C progrm to display maltiplication table for the entered namber include sdlib h int main void) W loop to display the muhiplication table retum EXIT SUCCESS end of multTablec Outpet Multiplication Table from 1 to 7(enter an integer) 1 1 234567 89 10 2 4 6 1 12 14 16 18 20 3 69 12 15 18 21 24 27 30 4 4 8 12 16 2 24 28 32 3 40 5 5 10 15 20 25 35 4 45 50 6 6 12 18 24 30 36 42 48 54 60 7 14 21 28 35 42 49 56 63 70 8 8 16 24 32 4e 48 56 64 72 0 9 9 18 27 36 45 54 63 72 81 9e 10 10 20 3 5 7 80e 99 100 actonsc:Cprogram to display a table containing the Eactors from 1 to the input number printd n Factors from 1 to Net an inter) nt loop to display the factors -0 ifi is divisible by j, then it is a facter retum EXIT SUCCESS end of factons.c Factors from 1 to 7(enter an integer) -> 10 2 1 2 4 1 2 4 5 1 5 6 1 2 36 7 1 7 8 1248 9 13 S For this part of Lab4, you will combine both programs from Part a into one program, but with the output looking as below Table of Factors&Multiples from 1 to ? (enter an integer): 30 2 3 4567 8910 4 6 10 12 14 16 18 20 6 9 12 15 18 2124 27 30 8 12 16 20 24 28 32 36 40 10 15 20 25 30 35 4045 50 6 12 18 24 30 36 4248 5460 14 21 28 35 42 49 56 63 70 88 16 24 32 40 48 56 6472 80 9 9 18 27 36 45 54 6372 81 90 12510 10 2030 4050 60 70 80 90 100 1 2 123 4 6 12 1224 36 48 60 72 84 96 108 120 11313 26 3952 65 78 91 104 117 130 14 14 28 42 56 70 84 98 112 126 140 15 15 30 45 60 75 90 105 120 135 150 16 16 32 48 64 80 96 112 128 144 160 117 17 34 51 68 85 102 119 136 153 170 1 23 6 918 1836 54 72 90 108 126 144 162 180 119 19 38 57 76 95 114 133 152 171 190 1 2 4 5 10 20 20 40 60 80 100 120 140 160 180 200 1 37 21 21 42 63 84 105 126 147 168 189 210 1 2 11 22 22 44 66 88 110 132 154 176 198 220 23 23 46 69 92 115 138 161 184 207 230 12 3468 12 242448 72 96 120 144 168 192 216 240 1 5 25 25 50 75 100 125 150 175 200 225 250 1 2 13 26 26 52 78 104 130 156 182 208 234 260 1 3 9 27 27 54 81 108 135 162 189 216 243 270 1 2 4 714 28 28 56 84 112 140 168 196 224 252 280 1 29 2958 87 116 145 174 203 232 261 290 1 235 6 10 15 30 30 60 90 120 150 180 210 240 270 300 1 2 7 1 3 5 124 8 1 waltTable: C progrm to display maltiplication table for the entered namber include sdlib h int main void) W loop to display the muhiplication table retum EXIT SUCCESS end of multTablec Outpet Multiplication Table from 1 to 7(enter an integer) 1 1 234567 89 10 2 4 6 1 12 14 16 18 20 3 69 12 15 18 21 24 27 30 4 4 8 12 16 2 24 28 32 3 40 5 5 10 15 20 25 35 4 45 50 6 6 12 18 24 30 36 42 48 54 60 7 14 21 28 35 42 49 56 63 70 8 8 16 24 32 4e 48 56 64 72 0 9 9 18 27 36 45 54 63 72 81 9e 10 10 20 3 5 7 80e 99 100 actonsc:Cprogram to display a table containing the Eactors from 1 to the input number printd n Factors from 1 to Net an inter) nt loop to display the factors -0 ifi is divisible by j, then it is a facter retum EXIT SUCCESS end of factons.c Factors from 1 to 7(enter an integer) -> 10 2 1 2 4 1 2 4 5 1 5 6 1 2 36 7 1 7 8 1248 9 13 S For this part of Lab4, you will combine both programs from Part a into one program, but with the output looking as below Table of Factors&Multiples from 1 to ? (enter an integer): 30 2 3 4567 8910 4 6 10 12 14 16 18 20 6 9 12 15 18 2124 27 30 8 12 16 20 24 28 32 36 40 10 15 20 25 30 35 4045 50 6 12 18 24 30 36 4248 5460 14 21 28 35 42 49 56 63 70 88 16 24 32 40 48 56 6472 80 9 9 18 27 36 45 54 6372 81 90 12510 10 2030 4050 60 70 80 90 100 1 2 123 4 6 12 1224 36 48 60 72 84 96 108 120 11313 26 3952 65 78 91 104 117 130 14 14 28 42 56 70 84 98 112 126 140 15 15 30 45 60 75 90 105 120 135 150 16 16 32 48 64 80 96 112 128 144 160 117 17 34 51 68 85 102 119 136 153 170 1 23 6 918 1836 54 72 90 108 126 144 162 180 119 19 38 57 76 95 114 133 152 171 190 1 2 4 5 10 20 20 40 60 80 100 120 140 160 180 200 1 37 21 21 42 63 84 105 126 147 168 189 210 1 2 11 22 22 44 66 88 110 132 154 176 198 220 23 23 46 69 92 115 138 161 184 207 230 12 3468 12 242448 72 96 120 144 168 192 216 240 1 5 25 25 50 75 100 125 150 175 200 225 250 1 2 13 26 26 52 78 104 130 156 182 208 234 260 1 3 9 27 27 54 81 108 135 162 189 216 243 270 1 2 4 714 28 28 56 84 112 140 168 196 224 252 280 1 29 2958 87 116 145 174 203 232 261 290 1 235 6 10 15 30 30 60 90 120 150 180 210 240 270 300 1 2 7 1 3 5 124 8 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Discuss consumer-driven health plans.

Answered: 1 week ago