Question: you will write a program to print three shapes of different sizes. Your program will read input from a text file and write the


you will write a program to print three shapes of different sizes. Your program will read input from a text file and write the output to another file. The input files should be saved in a subfolder called InputFiles while the output files should be written to a subfolder called OutputFiles. Both Input Files and OutputFiles subfolders should be under the project's main folder This assignment is divided up into five main parts we want you to be able to handle, objects, recursion, JUnit testing, file I/O, and exception handling. The sections are in the order I'd recommend you implement them in, however do what will make the most sense to you. Objects Create four classes; Triangle, Rectangle and Rhombus and a File Handler class A Triangle will be supplied one integer which will dictate how far "down" you want to go. For example, if you're given the integer 5, you'll get the output:
Step by Step Solution
There are 3 Steps involved in it
Certainly Heres a Python program that reads input from a text file processes the input to print three shapes of different sizes and then writes the ou... View full answer
Get step-by-step solutions from verified subject matter experts
