Assume you already have code that generated a 2d char array…

Assume you already have code that generated a 2d char array named grid sized at 10 (variable called SIZE). You do not need to write the code that creates or prints the grid. You are not required to write a main function. Assume it’s already written. One possible grid print out is shown below. Write the code to locate all ‘F’s in any given 2d array (called grid). Print the x and y coordinates of each location you found. For example, the location of the first coordinate (top, left) in the grid is 0,0.  F………………..F…………………………F……….A………..F..F…………………

Given a string like alpha = “abcdef” (or any other string wi…

Given a string like alpha = “abcdef” (or any other string with at least three characters), create a new string. The new string is identical to the alpha string except the first two characters of the alpha string are removed from the front of the string and placed at the end of the string. You may find a loop, subscript notation, and string concatenation helpful. Whatever you decide, use only concepts taught in the course. You are not required to write a main function. Example: alpha = “abcdef”newString = cdefab” Your code should work with any string with 3 or more letters.