Q.3 Write a c++ program that asks the user to enter two numbers (from 100 to 999) to create a matrix that have the size [a][5]. Then, the program will reverse the digits of each element in that matrix and it will print it again. As shown in figures below Enter start number of elements to make your array shoud be(from 100 to 999): 100 Enter the end number of elements to make your array, should be greater than the first number : 115 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 The matrix after reversing the digits of each element will be: 1 101 201 301 401 501 601 701 801 901 11 111 211 311 411 Process exited after 4.309 seconds with return value e Press any key to continue Enter start number of elements to make your array shoud be(from 100 to 999): 120 Enter the end number of elements to make your array, should be greater than the first number : 170 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 The matrix after reversing the digits of each element will be : 21 121 221 321 421 521 621 721 821 921 31 131 231 331 431 531 631 731 831 931 41 141 241 341 441 541 641 741 841 941 51 151 251 351 451 551 651 751 851 951 61 161 261 361 461 561 661 761 861 961 Process exited after 7.571 seconds with return value e Press any key to continue .

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
I need the answer quickly
Q.3
Write a c++ program that asks the user to enter two numbers (from 100 to 999) to create a
matrix that have the size [a][5]. Then, the program will reverse the digits of each element in
that matrix and it will print it again. As shown in figures below
Enter start number of elements to make your array shoud be(from 100 to 999): 100
Enter the end number of elements to make your array, should be greater than the first number : 115
100 101
102
103 104
105
106
107
108
109
110
111
112
113
114
The matrix after reversing the digits of each element will be:
1
101 201 301 401
501
601
701
801 901
11
111
211
311
411
Process exited after 4.309 seconds with return value e
Press any key to continue
Enter start number of elements to make your array shoud be(from 100 to 999): 120
Enter the end number of elements to make your array, should be greater than the first number : 170
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148 149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166 167 168 169
The matrix after reversing the digits of each element will be :
21
121
221
321 421
521
621
721
821 921
31
131
231
331
431
531
631
731
831
931
41
141
241
341
441
541
641
741
841
941
51
151
251
351
451
551
651
751
851
951
61
161
261
361
461
561
661
761
861
961
Process exited after 7.571 seconds with return value e
Press any key to continue
Transcribed Image Text:Q.3 Write a c++ program that asks the user to enter two numbers (from 100 to 999) to create a matrix that have the size [a][5]. Then, the program will reverse the digits of each element in that matrix and it will print it again. As shown in figures below Enter start number of elements to make your array shoud be(from 100 to 999): 100 Enter the end number of elements to make your array, should be greater than the first number : 115 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 The matrix after reversing the digits of each element will be: 1 101 201 301 401 501 601 701 801 901 11 111 211 311 411 Process exited after 4.309 seconds with return value e Press any key to continue Enter start number of elements to make your array shoud be(from 100 to 999): 120 Enter the end number of elements to make your array, should be greater than the first number : 170 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 The matrix after reversing the digits of each element will be : 21 121 221 321 421 521 621 721 821 921 31 131 231 331 431 531 631 731 831 931 41 141 241 341 441 541 641 741 841 941 51 151 251 351 451 551 651 751 851 951 61 161 261 361 461 561 661 761 861 961 Process exited after 7.571 seconds with return value e Press any key to continue
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY