0% found this document useful (0 votes)
29 views2 pages

Pseudocode for Score Search Algorithm

The document outlines a pseudocode for a program that stores ten scores in an array and allows the user to search for a specific keyword. If the keyword matches any score in the array, it prints the message indicating the score is found along with its index; otherwise, it indicates that the keyword is not found. The process involves inputting scores, searching through the array, and displaying appropriate messages based on the search results.

Uploaded by

anisa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Pseudocode for Score Search Algorithm

The document outlines a pseudocode for a program that stores ten scores in an array and allows the user to search for a specific keyword. If the keyword matches any score in the array, it prints the message indicating the score is found along with its index; otherwise, it indicates that the keyword is not found. The process involves inputting scores, searching through the array, and displaying appropriate messages based on the search results.

Uploaded by

anisa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Pseudocode

Start
Declare and create store array and keywords in double
i=0 ,a=0
while(i<10)
input score[i]
i=i+1
endwhile
input keyword
i=0
while(i<10)
if keyword=score[i]
Print “Score in the list” and index[i]
a=1
end if
i=i+1
endwhile
if a=0
Print “keyword not found in the score”
end if
stop
PROBLEM ANALYSIS

Input:Score/keyword

Process :Repeat entering the score 10 times .Search the element that will found in the
[Link] element found and index [] or message not found

Output:Display a message “The score is in the list” and index [] or message “The score is not in
the list”

You might also like