Prompt the user to select from eitner [1] Transformation of Matrix or (2] Odd or Even. • Ii the user selected 1, it will display "TRANSFORMATION OF MATRIX" / • In the transformation of matrix, the system must prompt the user to input the row size of the matrix. • In the same case, the system should also prompt the user to input the column size. • The row and the column must not be equal with each other. If the row and column is equal, the system must prompt the user to input new column size until it is not equal anymore. • The user must then input the elements of the corresponding matrix. • The system must display the inputted elements in a matrix form. • The system must display the transformed matrix. Example: a 2x3 matrix will be converted to a 3x2 matrix. • If the user selected 2, the system would display "ODD OR EVEN". • In the Odd or Even case, the system must prompt the user a starting number and an ending number. • The system will display all the numbers from the starting number inputted to the last number inputted and an identification if it's even or odd. • Example: Input starting number: 5 Input ending number: 10 5 odd even 7 odd 8 even 9 odd 10 even

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

Write a c++ program

Prompt the user to select from eitner [1] Transformation of Matrix or (2] Odd or Even.
If the user selected 1, it will display "TRANSFORMATION OF MATRIX" /
• In the transformation of matrix, the system must prompt the user to input the row size of the matrix.
• In the same case, the system should also prompt the user to input the column size.
• The row and the column must not be equal with each other. If the row and column is equal, the system
must prompt the user to input new column size until it is not equal anymore.
• The user must then input the elements of the corresponding matrix.
• The system must display the inputted elements in a matrix form.
• The system must display the transformed matrix. Example: a 2x3 matrix will be converted to a 3x2 matrix.
• If the user selected 2, the system would display "ODD OR EVEN".
• In the Odd or Even case, the system must prompt the user a starting number and an ending number.
The sysein will display all the numbers from the starting number inputted to the last number inputted
and an identification if it's even or odd.
Example:
Input starting number: 5
Input ending number: 10
odd
6
even
7
odd
8
even
9
odd
10
even
Transcribed Image Text:Prompt the user to select from eitner [1] Transformation of Matrix or (2] Odd or Even. If the user selected 1, it will display "TRANSFORMATION OF MATRIX" / • In the transformation of matrix, the system must prompt the user to input the row size of the matrix. • In the same case, the system should also prompt the user to input the column size. • The row and the column must not be equal with each other. If the row and column is equal, the system must prompt the user to input new column size until it is not equal anymore. • The user must then input the elements of the corresponding matrix. • The system must display the inputted elements in a matrix form. • The system must display the transformed matrix. Example: a 2x3 matrix will be converted to a 3x2 matrix. • If the user selected 2, the system would display "ODD OR EVEN". • In the Odd or Even case, the system must prompt the user a starting number and an ending number. The sysein will display all the numbers from the starting number inputted to the last number inputted and an identification if it's even or odd. Example: Input starting number: 5 Input ending number: 10 odd 6 even 7 odd 8 even 9 odd 10 even
Expert Solution
steps

Step by step

Solved in 6 steps with 4 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