diagram alur online
Best one is
https://online.visual-paradigm.com/diagrams/solutions/free-flowchart-maker-online/
no login and works fine <3
BradBot_1
Best one is
https://online.visual-paradigm.com/diagrams/solutions/free-flowchart-maker-online/
no login and works fine <3
Best one:
https://www.lucidchart.com/pages/examples/flowchart-maker
note: must login.
def linearSearch(array, n, x):
for i in range(0, n):
if (array[i] == x):
return i
return -1
array = [2, 4, 0, 1, 9]
x = 1
n = len(array)
result = linearSearch(array, n, x)
if(result == -1):
print("Element not found")
else:
print("Element found at index: ", result)