Q.1 Write C++ code that ask the user to enter any number greater than the minimum number, then the program will print a matrix (each student will have his/her own matrix. He/ she should figure out what is the relationship between the elements in that matrix). Enter any number to creat a matrix: 28 1 11 12 13 14 15 21 22 23 24 25 Process exited after 3.261 seconds with return value e Press any key to continue Enter any number to creat a matrixI SE 1 11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 Process exited after 3.595 seconds with return value e Press any key to continue

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 9E: (Numerical) Write a program that tests the effectiveness of the rand() library function. Start by...
icon
Related questions
Question
i need the answer quickly
Q.1 Write C++ code that ask the user to enter any number greater than the minimum number, then the program will
print a matrix (each student will have his/her own matrix. He/ she should figure out what is the relationship between the
elements in that matrix).
Enter any number to creat a matrix
28
1 2 3
5
11 12
13 14
15
21
22
23
24
25
**** *
Process exited after 3. 261 seconds with return value e
Press any key to continue
Enter any number to creat a matrix
35
1
4
11
12
13
14
15
21
22
23
24
25
31
32
33
34 35
Process exited after 3.595 seconds with return value e
Press any key to continue
Enter any number to creat a matrix
112
11
12
13
14
15
21
22
23
24
25
33
34
ZE
SE
41
42
43
44
45
51
52
53
54
55
61
62
63
64
65
71
72
73
74
75
81
82
83
84
BS
91
92
93
94
95
101
102
103
104
105
111
112
113
114
115
Process exited after 2.699 seconds with return value e
Press any key to continue
Enter any number to creat a matrix :
4
Process exited after 1.988 seconds with return value e
Press any key to continue..
Transcribed Image Text:Q.1 Write C++ code that ask the user to enter any number greater than the minimum number, then the program will print a matrix (each student will have his/her own matrix. He/ she should figure out what is the relationship between the elements in that matrix). Enter any number to creat a matrix 28 1 2 3 5 11 12 13 14 15 21 22 23 24 25 **** * Process exited after 3. 261 seconds with return value e Press any key to continue Enter any number to creat a matrix 35 1 4 11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 Process exited after 3.595 seconds with return value e Press any key to continue Enter any number to creat a matrix 112 11 12 13 14 15 21 22 23 24 25 33 34 ZE SE 41 42 43 44 45 51 52 53 54 55 61 62 63 64 65 71 72 73 74 75 81 82 83 84 BS 91 92 93 94 95 101 102 103 104 105 111 112 113 114 115 Process exited after 2.699 seconds with return value e Press any key to continue Enter any number to creat a matrix : 4 Process exited after 1.988 seconds with return value e Press any key to continue..
Expert Solution
steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning