Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java I am trying to create a method to help me complete this prompt. I am working on the part where you record the
In Java I am trying to create a method to help me complete this prompt. I am working on the part where you record the current map of the garden. I would love help. Above is the "half done" method I created so far and below is the prompt given by my professor.
* This method puts together all of the plants positions in garden eparam oneLetterPlantNames an array holding chars of the first letter of the plants in the garden eparam gardenArray a 2D array that is the length and width entered by the user @param side an int saying the side length of the plant eparam left an int saying how far from the left edge a plant is in the garden @param top an int saying how far from the top edge a plant is in the garden ereturn a char 2D array holding the current location of the plants in the garden Cit holds the first letter public static char tocalculateGarden(char oneLetterPlantNames , chargardenArray, int side, int left, for(int i-0;iStep 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