In the following, write all loops so they would still work if the sizes of the arrays were changed. (You need not get values from the user for the following; you can just make up values in the code. However, your code should still work if those values wer

In the following, write all loops so they would still work if the sizes of the arrays were changed. (You need not get values from the user for the following; you can just make up values in the code. However, your code should still work if those values were changed.) In a project, in a main, create an array of doubles of length 10, and give it values using special initialization. Then write a loop that goes through the array, and after the loop report the largest and smallest number in the array, and the average of all the numbers. [Extra Credit+5] also report the second largest. In the same main, create an array of 10 strings. Using nested loops, fill it with values so that each element is a string containing a number of x’s based on the index, so the 0th element is “”, the 1st element is “x” the 2nd element is “xx”, and the 9th element is “xxxxxxxxx”. (hint, one loop will move you through the array, the other will add the right number of x’s to the current element). In the same main, create an array of 10 booleans called printIt and and array of 10 strings called words, both using special initalization. Then go through the words array and print each element of words only if the printIt array in the same position is true. You DO NOT need a nested loop for each array (think about the parallel arrays). In the same main, create an array of 10 ints called howManyTimes using special initalization. Then go through the words array (again) and print each element of words the number of times given in howManyTimes. So if howManyTimes[3] is 9 and words[3] is “hello” you would print “hello” 9 times. To do this you will need nested loops: an outer loop to move through the arrays, and an inner loop to print the words the right number of times. You DO NOT need a nested loop for each array (think about the parallel arrays). [Extra Credit+5] change the loop you just wrote so that for each element you print the words howManyTimes only if printIt is true, and otherwise print “[THIS WORD REMOVED]” once.

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational