Create a function called findChar that will return the index of where a particular character is found within a CString. Your function should take as parameters the CString to search through and a character variable to search for. The function will return the index of where the character was first found. If the array does not have the character in it, your function should return -1. NOTE: Do not convert or cast the characters to int\'s to do the searching. At this point you should be able to traverse a CString. Solution import java.util.Scanner; import java.io.*; import java.lang.*; public class FindingIndex{ public static void main(String args[]){ String [] Cstring = new String [10]; System.out.println(\"Please enter the string \"); System.out.println(\"Character to search\"); Scanner in = new Scanner(System.in); Cstring = in.nextLine(); char c = in.nextChar(); CstringIndex(Cstring,c); } public static int CstringIndex(String[] Cstring2,char newchar){ for(int i=0;i<Cstring2.length();i++) { if(c == Cstring2[i]) { System.out.println(\"Index of the character \"+i); break; } else { System.out.println(\"-1\"); } } } } .