I was trying to do the assignments in the cattle drive. The question is "Write a program that will read in a number from 0 to 99 and spell out that number. The program must also report any values that are out of range. In other words, I want to type java Say 22 and see twenty-two" How would i go about writing this program. please give some guidelines
I'm in the middle of this assignment myself. I think I'm getting too bogged down (I'm going for the extra, extra credit) but I do have some suggestions for you if you're just getting started: Think in terms of "speech". Remember Paul's example, "nine hundred ninety-nine billion, nine hundred ninety-nine million...". I don't want to go too far in the forum so feel free to email me personally if you would like.
Originally posted by Patel a: How would i go about writing this program. please give some guidelines
I would suggest you not to take tips from others and try to solve the assignment on your own. Initially, it might take some time but then programming profession is all about hard work and perseverence.
[This message has been edited by Milind Kulkarni (edited August 28, 2000).]