Please assist with this program: Spiral Matrix and Recursion

You will create a C++ program to gather the clues by decoding and find the right path to the finish line. The purpose of this homework is to get students familiar with the array and recursion. 2. Input and Output a. Input file The input file contains a list of matrices in the similar format: i. A string: Label ii. Two positive integers for dimension (row and column) ● No bigger than 9x9 iii. The file will never be empty iv. Not every matrix will be used. ● If it’s not referenced by another matrix then it shouldn’t show up in the output v. No labels will be duplicated, and no spiral matrices will be duplicated. ● Only one label will match up with one matrix b. Output file The output is also a single text file. It contains labels of the matrices line by line in reverse order. c. Examples i. Example 1 input01.txt start 2,2 f o r u four 2,3 r a n m o d random 2,3 f i n h s i Linux Command: ./recur “input=input01.txt;output=output01.txt” output01.txt random four start ii. Example 2 Input02.txt start 3,3 l a r r d g o w e largeword 5,2 r a t n x d e o t m randomtext 2,7 a n o t h e r x o b t x e t anothertextbox 3,2 f i h n s i Linux Command: ./recur “input=input02.txt;output=output02.txt” output02.txt anothertextbox randomtext largeword start iii. Example 3 input03.txt psychopathologically 6,1 f i n i s h start 4,4 a n t i m i c a o l a s n o r t distraction 2,2 f a k e worthinesses 3,5 u n d i s s h e d t i u g n i undistinguished 5,4 p s y c g i c h o y a o l l l p o h t a antiastronomical 4,3 w o r s e t s s h e n i Linux Command: ./recur “input=input03.

Get Help With a similar task to - Please assist with this program: Spiral Matrix and Recursion

Login to view and/or buy answers.. or post an answer

Related Questions

Similar orders to Please assist with this program: Spiral Matrix and Recursion
11
Views
0
Answers
Chapter 2 Exercises conducting Java and Arithmetic Programs
Create a Chapter2Exercises folder to save your files. Complete the following exercises and save the files to the Chapter2Exercises folder: Exercise 1: Making an Alien Walk in Alice Exercise 2: Converting Fahrenheit to Celsius with Java* Exercise 3...
19
Views
0
Answers
Counting Fractions with Beginner Java techniques (knowledge through first programming class)
This assignment assumes that we have only taken the first programming class so more advanced techniques shouldn't be used. In addition, the use of java's built-in abstract data types like ArrayList or Hashmap is prohibited and classes are also not allowed....
17
Views
0
Answers
Excel homework for a business course that I'm completing in college
Excel homework that needs to be completed in the same order as the instructions. The document must be completed step by step or it doesn't count as a grade. I have attached the document...
50
Views
0
Answers
PG2 – LAB 2: BLACKJACK OBJECTS
CONTENTS Overview........................................................................................................................................................................2 Part A - Classes......................................................