Question: Today you are going to use recursion to create a vertical ruler, made up of a series of horizontal lines (hyphens -) Details Download the

 Today you are going to use recursion to create a verticalruler, made up of a series of horizontal lines (hyphens "-") Details

Download the ZIP files named Files Needed.zip for use in Inteliu. Whenyou are happy with your solution, upload the files into the src

Today you are going to use recursion to create a vertical ruler, made up of a series of horizontal lines (hyphens "-") Details Download the ZIP files named Files Needed.zip for use in Inteliu. When you are happy with your solution, upload the files into the src folder and run. You are going to finish off PoD.java to finish building the card deck. Input 1 We have read in two integers one to be the total number of inches to be included in your vertical uler, and the second is the number of hyphens that each inch of your ruler will be made up of. Ultimately, this also determines the number of parts that each inch of your ruler will be split into. Processing You are going to complete the details of 3 distinct methods. Details of each method and their expected parameters are described in the Javadoc comments preceding it 1 drawLine method Prints a string of the requested number of lines (hyphens: 34.etc 1 drawRulerLines method: 2 Recursively draws the ruler lines above (1 shorter than centre line) 2 Draws the centre line

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!