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 10e 101 102 103 104 1e5 106 107 108 109 110 111 112 113 114 The matrix after reversing the digits of each element will be : 1 181 201 301 401 601 701 Be1 ge1 411 501 11 111 211 311 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 127 128 125 126 129 130 131 132 133 134 135 136 137 138 139 144 149 154 140 141 142 143 145 146 150 151 147 152 153 155 156 157 158 159 162 163 167 168 148 160 161 165 166 164 169 The matrix after reversing the digits of each element will be 21 121 221 321 421 521 621 721 821 921 31 131 531 631 141 231 331 731 831 241 341 741 841 431 931 441 941 41 $41 641 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.
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 10e 101 102 103 104 1e5 106 107 108 109 110 111 112 113 114 The matrix after reversing the digits of each element will be : 1 181 201 301 401 601 701 Be1 ge1 411 501 11 111 211 311 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 127 128 125 126 129 130 131 132 133 134 135 136 137 138 139 144 149 154 140 141 142 143 145 146 150 151 147 152 153 155 156 157 158 159 162 163 167 168 148 160 161 165 166 164 169 The matrix after reversing the digits of each element will be 21 121 221 321 421 521 621 721 821 921 31 131 531 631 141 231 331 731 831 241 341 741 841 431 931 441 941 41 $41 641 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.
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 11PE
Related questions
Question
i need the answer quickly
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning