Created
March 1, 2011 16:12
-
-
Save hasayvaz/849364 to your computer and use it in GitHub Desktop.
işletim sistemleri ilk hafta ödevi: notu 50'den büyük olanları gösterme
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
#!/usr/bin/awk -f | |
BEGIN { | |
} | |
{ | |
key = $1 | |
dict[key] = $2 | |
} | |
END { | |
print "50'den büyük olanlar" | |
for (key in dict) | |
if (dict[key] > 50) | |
print key, ":", dict[key] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment