Friday Programming Quiz [modified]
-
Rama Krishna Vavilala wrote:
Of course it can be done in language of your choice
Give a couple of hours and I'll have the COBOL version slapped together for you. :)
Chris Meech I am Canadian. [heard in a local bar]
that's not funny, I mainly do COBOL. It makes me sad to think about how this would be done in COBOL.
"If you really want something in this life, you have to work for it. Now, quiet! They're about to announce the lottery numbers..." - Homer Simpson
-
"Computer" I shout. "Yes Master?" "Create a file for me!" "All right. What do you want in the file?" "Names, and an ID number. Can you do that brainiac?" "Cut the crap Boss. Sure thing. Anything else?" "Yeah, keep the file sorted by ID, in ascending order." "Fine. Done. Where do I get the names from?" "They are in another file, it's text, and comma delimited. The first thing on a line is a number, the ID, followed by a name." "Are there multiple entries in a file?" "Yep." "OK, ready to rock and roll."
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog
Picard: "Data, do something with these files."