am i the only one that has tried this? ever since i wrote NaturalLanguageMultiply i have been wondering how easy it would be to make it extend my Say (4b) class so i could have the output in "natural language" as well... it just so happens that the first method in my Say class takes a String as an argument... so, i made my NatualLanguageMultiply extend Say and then i just called the method with my multiplied value (converted to a String)! anyway, i am just wondering if i am the only person who has tried this... (i hope not, that would mean i am obsessed )
A fun thing to write would be the "if this is tea, bring me coffee; if this is coffee, bring me tea" version. For example, pass in "17" and get "seventeen" as the result. Pass in "seventeen" and get "17" as the result. If you're writing this as some number conversion library class, I'm sure you'd want different methods based on which direction you're converting. But if you're doing it as an exercise, it might be fun to let the program figure out whether the input is text or a figure.
michael, i have an idea for the color part... i modified a bulletin board servlet a couple weeks ago so the font changes based on the username. it would be really easy to implement that based on the days since last submission. making it change the background vs. the text font is a no brainer. [This message has been edited by Greg Harris (edited August 15, 2001).]
Originally posted by Michael Matola: In case you're looking for other things to work on... Nobody's posted a response to my "challenge" regarding adding new validation functionality to the assignment log automation prototype.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop