Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN JAVA, i do not need the video, just the code AMatrix BMatrix CS 2300 Program 1 Due 14 Feb 2020 Administrative: 1. Put your
IN JAVA, i do not need the video, just the code
CS 2300 Program 1 Due 14 Feb 2020 Administrative: 1. Put your information (name, class, etc) in a header comment block. 2. Please comment appropriately. This is particularly important if you code doesn't work properly. Description of the Assignment: For this assignment, download the appropriate files ("Amatrix" and "Bmatrix"). These files are text files where the first two values specify the number of rows and the number of columns in the input matrix. After this data, the remaining contents is the data in row-major order. For example, the if the first two integer values are "33" then the first 3 values are the first row in the matrix. As an example, a 3x3 matrix: [1 4 17 2 5 8 3] 6 9) would have data contents "3312 3 4 5 6 7 8 9" (without the quotation marks of course). The elements of the matrix are integers. After you read the matrix A and matrix B data (using whatever data structure you deem appropriate), output the following data: 1. Write matrix A to a file named "CS2300P1acyour last name>.outA". This should be a plain text file. You should also write this result to stdout the screen). 2. Write matrix B to a file named "CS2300P1acyour last name> outB" and to stdout. 3. Calculate 68-5A using the A and B matrices above. Write this result to "CS2300Placyour last name>.calc" and to stdout. 4. Write the transpose of the result of matrix B (just above) to a file "CS2300PlaAMatrix
BMatrix
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started