The SEEK subroutine returns the 1-based index of the first occurrence of a character in a string.
For example:
SEEK("A", "GATTACA") would return 2SEEK("C", "GATTACA") would return 6nucleotide and dnaSeq are variables used in the algorithm below.
dnaSeq ← "GATTACA"
length ← 7
OUTPUT "Enter the nucleotide to find:"
nucleotide ← USERINPUT
Complete the pseudo-code statement to find the index of the first occurrence of the contents of nucleotide in dnaSeq and store this index in the variable index.
You must use the SEEK subroutine in your answer.
index ← _____