Writeaprogramthatfirstcreatesanintegerarraya[50],andseta[i]=i+3,i=0to49.Theprogramnextreadsinanindexkfromtheuser,thencallsamethodreadValue(int[]a,intk)thatwouldreturnthevalueofa[k].Themainprogramdisplaysthevaluea[k].Iftheindexisoutofbounds,