Question
Please help in completing this! Screenshots of the flowchart completed using flowgorithm.org would help! The screenshots below have to be completed using flowgorithm.org . Open
Please help in completing this! Screenshots of the flowchart completed using flowgorithm.org would help! The screenshots below have to be completed using flowgorithm.org. Open image in new tab to see screenshots clearly below.. Thank you
*Do not add any modules; just use the ones I provide and add the code necessary to make it run Dont change any module names or the code in that module which has a comment block at the beginning which says Finished - Dont alter! You are required to add code and/or finish modules with a comment block at the beginning which says Finish adding Code
* The array is unsorted and a number may appear from 0 to many, many times
*Build 2 linear searches
*The first linear search will check for the existence of the number 1320 The second linear search will see how many of the number 1320 is actually exists in the array
*Output for the program will be simple and only states if 1320 exists or not in the array and then if it does, how many of them are there in the array
*Finish filling out the explanation in the Main() labeled Array as an agreement comment:. What Im asking for here is in this comment you to explain how the array is passed into the module, filled and available in the Main() yet it is not returned by module FillTheArray()
Thanks again!
File Edit Program Tools Help O N II Main 18 @ Q = 0: D E Main Finish adding Code Boolean bDoesltExist Integer Counter, iHow Many, SIZE, ENTRY Variable with all CAPITAL letters are considered constants SIZE = 10000 ENTRY = 1320 Integer Array iNumArray [SIZE] Array as an agreement comment: FillTheArray(iNumArray, SIZE) End Font size set to 12pt. EN File Edit Program Tools Help O N II FilTheArray 78 Q Q = 08 2 FillTheArray (Integer Array TempArray, Integer SIZE) Finished - Don't alter! Integer index, RANGE RANGE = 2500 Variable with all CAPITAL letters are considered constants Next index = 0 to SIZE - 1 Done iTempArray[index] = Random (RANGE) End Font size set to 12pt. People EN File Edit Program Tools Help O N II LinearSearchone ), 8 Q Q 5 | 03 3 Functions LinearSearchOne (Integer Array i TempArray, Integer SIZE, Integer ENTRY) Finish adding Code Boolean b TempDoesitExist Return Boolean bTempDoesitExist Font size set to 12pt. EN File Edit Program Tools Help 2 H > T : LinearSearch Two 8 @ Q R DE E 2 Linear SearchTwo (Integer Array TempArray, Integer SIZE, Integer ENTRY) Finish adding Code Integer iHow ManyExist Return Integer iHowManyExist Font size set to 12pt. EN File Edit O Program Tools Help NILIP ProgramOutput ___ ,8 @ DE EE Functions Program Output (Boolean bTempDoesltExist, Integer iHow Many) Finish adding code False True bTempDoesltExist Dang, you didn't find the number 1320 Cool, you found the number 1320 End Font size set to 12pt. EN File Edit Program Tools Help O N II Main 18 @ Q = 0: D E Main Finish adding Code Boolean bDoesltExist Integer Counter, iHow Many, SIZE, ENTRY Variable with all CAPITAL letters are considered constants SIZE = 10000 ENTRY = 1320 Integer Array iNumArray [SIZE] Array as an agreement comment: FillTheArray(iNumArray, SIZE) End Font size set to 12pt. EN File Edit Program Tools Help O N II FilTheArray 78 Q Q = 08 2 FillTheArray (Integer Array TempArray, Integer SIZE) Finished - Don't alter! Integer index, RANGE RANGE = 2500 Variable with all CAPITAL letters are considered constants Next index = 0 to SIZE - 1 Done iTempArray[index] = Random (RANGE) End Font size set to 12pt. People EN File Edit Program Tools Help O N II LinearSearchone ), 8 Q Q 5 | 03 3 Functions LinearSearchOne (Integer Array i TempArray, Integer SIZE, Integer ENTRY) Finish adding Code Boolean b TempDoesitExist Return Boolean bTempDoesitExist Font size set to 12pt. EN File Edit Program Tools Help 2 H > T : LinearSearch Two 8 @ Q R DE E 2 Linear SearchTwo (Integer Array TempArray, Integer SIZE, Integer ENTRY) Finish adding Code Integer iHow ManyExist Return Integer iHowManyExist Font size set to 12pt. EN File Edit O Program Tools Help NILIP ProgramOutput ___ ,8 @ DE EE Functions Program Output (Boolean bTempDoesltExist, Integer iHow Many) Finish adding code False True bTempDoesltExist Dang, you didn't find the number 1320 Cool, you found the number 1320 End Font size set to 12pt. ENStep 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