Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming in C Part A: Part B: You will be crating two files today, one called multTable.c and factors.c mul table.c,providea C program tha wa

Programming in C
Part A: image text in transcribed
Part B:
image text in transcribed
You will be crating two files today, one called multTable.c and factors.c mul table.c,providea C program tha wa dotbe following: 1. Prompt the user to enter an intepar. Note Use Eprintt0 and fscant fnto thoghout your program 2. Using keps, print out to the user a multplication table from toteumhe ad by heuer SAMPLE OUTPUT Multiplication Table from 1 to 7 tenter an integer) 10 23 78910 46810 12 14 16 18 20 3 6 9 12 15 18 2124 2730 42 48 54 7 14 21 28 35 42 49 56 3 70 8 16 24 32 40 48 5664 72 80 9 18 27 36 45 54 63 72 8 9 10 20 30 40 50 60 70 80 90 100 3. The mbers in the first column should be in a field of widh 6 with 2 spacsthe mumber, and ach mumbar in the remaining columns should be in a field of width 4 n factors.e, provide a C peogram that will do the following l. Prompt the user to enter anintepr. Nede Use tprintf() and fseant O tns 2 Using loops, print out to the user the factons for each number from I to the number enterod by t yourprogran. SAMPLE OUTPUT factor# fron 1 to ? (enter an integer); 10 2 12 31 412 5 15 6123 7 17 81248 913 10 2510 3. The muambers in the first column should be in a field of widh 4 with 2 spaces after the number, and each mumber in the remaining columns should be just smply-id " with l pace afete d 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 45 6 78910 46 10 12 14 16 18 20 6 9 12 15 18 21 24 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 7 14 21 28 35 42 49 56 63 70 1 2 1 2 4 12510 10 2030 4050 60 70 80 90 100 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 123 6 918 1836 54 72 90 108 126 144 162 180 119 19 38 57 76 95 114 133 152 171 190 124 5 10 20 20 40 60 80 100 120 140 160 180 200 1 3 7 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 1 23 23 46 69 92 115 138 161 184 207 230 12 3 468 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 29 58 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 35 12 4 8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions