Question: I need this code in FLOWGORITHM. Please provide the answer in Florgorithm screenshots...thanks 1 // Declare a constant for the array size. 2 Constant Integer

I need this code in FLOWGORITHM. Please provide the answer in Florgorithm screenshots...thanks

1 // Declare a constant for the array size.

2 Constant Integer SIZE = 6

3

4 // Declare a String array initialized with values.

5 Declare String names[SIZE] = "Ava Fischer", "Chris Rich",

6 "Gordon Pike", "Matt Hoyle",

7 "Rose Harrison", "Giovanni Ricci"

8

9 // Declare a variable to hold the search value.

10 Declare String searchValue

11

12 // Declare a Boolean variable to act as a flag.

13 Declare Boolean found

14

15 // Declare a counter variable for

16 Declare Integer index

17

18 // The flag must initially be set

19 Set found = False

20

21 // Set the counter variable to 0.

22 Set index = 0

23

24 // Get the string to search for.

25 Display "Enter a name to search for in the array."

26 Input searchValue

27

28 // Step through the array searching for

29 // the specified name.

30 While found == False AND index <= SIZE - 1

31 If names[index] == searchValue Then

32 Set found = True

33 Else

34 Set index = index + 1

35 End If

36 End While

37

Please provide answer in the program FLOWGORITHM with screenshots...thanks

the array. to Fals

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!