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

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
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 10e to 999): 100
Enter the end number of elements to make your array, should be greater than the first number: 115
100 101
105 106 107
102
103 184
108 109
110 111 112
113 114
The matrix after reversing the digits of each element will be :
1 101 301 401
201
501 6e1 701 s01 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
129
134
125 126
127 128
130 131 132
133
135 136 137
138
139
14e 141 142
143
144
147
148 149
154
145 146
150 151
152
153
155 156 157
160 161 162
158
159
163
164
165 166
167 168
169
The matrix after reversing the digits of each element will be :
221 321
721
21
121
421
521 621
31 131
821
921
231
331
431
531
631
731
831
341
931
41 141
541
241
641 741
441
841
941
451
951
51 151
251
351
551 651
61 161
751
851
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: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 10e to 999): 100 Enter the end number of elements to make your array, should be greater than the first number: 115 100 101 105 106 107 102 103 184 108 109 110 111 112 113 114 The matrix after reversing the digits of each element will be : 1 101 301 401 201 501 6e1 701 s01 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 129 134 125 126 127 128 130 131 132 133 135 136 137 138 139 14e 141 142 143 144 147 148 149 154 145 146 150 151 152 153 155 156 157 160 161 162 158 159 163 164 165 166 167 168 169 The matrix after reversing the digits of each element will be : 221 321 721 21 121 421 521 621 31 131 821 921 231 331 431 531 631 731 831 341 931 41 141 541 241 641 741 441 841 941 451 951 51 151 251 351 551 651 61 161 751 851 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 4 steps with 3 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