Last active
October 6, 2022 12:20
-
-
Save gydoma/de193d3b0ad65c1149da2ae457d7be09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keresés(X[N],T, sorszám) | |
i:=1; | |
Ciklius amíg i<=N és X[i] nem T tulajdonságú | |
i:=i+1; | |
Ciklus vége; | |
Ha i<=N akkor | |
sorszám:=i; | |
Különben | |
sorszám:=-1; | |
Elágazás vége; | |
Eljárás vége; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment