There it starts again. If people can answer straight on this list it would be really great. Why such convoluted answers?
And am sure Alan this is of no interest to anyone asking questions be it on any topic. Its just going to make them think twice before asking a question down the line. -----Original Message----- From: Tim Nicholson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 4:18 AM To: JDJList Subject: [jdjlist] what is it like to be a programmer "in the real world" ? And to Joseph or anyone else who would like to answer:- Can you possibly tell me what it is like to be a programmer (in I assume the Java language) in the real world ? What I mean really by that is, what sort of code do you write in your job ? I assume you are working as a computer programmer ? So what sort of code do you produce and work with in your job ? And is this difficult code ? Would I find it difficult to understand and work with ? ----- Original Message ----- From: "Joseph B. Ottinger" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 8:12 PM Subject: [jdjlist] Re: two exercises I am trying to solve at the moment.... > RE: [jdjlist] Re: J2MEWell, Tim, the first step is to read the suggestions > made by your coursework. Start small; write functions that do the simple > stuff first. Break the problems down (although most of the work has been > done for you already.) Man, these questions have gotten easier since *I* was > in grade 9. > > ----- Original Message ----- > From: Tim Nicholson > To: JDJList > Sent: Wednesday, September 25, 2002 4:09 AM > Subject: [jdjlist] two exercises I am trying to solve at the moment.... > > > Hi everyone again, > > this is in addition to the previous email that I sent but this is on a > rather different topic. > > I am trying to work through some problems/exercises and I was wondering if > anyone might be able to suggest how I might be able to solve these problems > ? > > Like I said before, this email is on a different topic to the email that I > sent before. > > The 1st problem I was wondering if anyone could help me on is as follows :- > > ======================================================================== > > Design and implement a program that allows the user to input a number in any > base (2..16) as a string of digits (0..9, A..F) and the base that the number > is in and displays the value in decimal of the input number. > Your program must have two function methods that respectively return: > the value of one digit character; and > the value of a whole string of digits in a given base. > Hint: The first of those functions makes it easier to write the second. > Your program may have a BreezySwing or text-only interface > > ======================================================================== > ======================================================================== > And the second one is like this :- > ======================================================================= > Write a program that allows the user to input any int value and outputs that > number in words. > Examples: > inputoutput > 0zero > 3three > 13thirteen > 23twenty-three > 223223two hundred and twenty-three thousand, two hundred and twenty-three > 223223223two hundred and twenty-three million, two hundred and twenty-three > thousand, two hundred and twenty-three > >2147483647two billion, one hundred and forty-seven million, four hundred > and eighty-three thousand, six hundred and forty-seven > -1minus one > > Your program must have three function methods that respectively return: > a value between 1 and 9 in words; > a value between 1 and 999 in words; and > any int value in words. > Hint: The first of those functions makes it easier to write the second and > writing the second will help write the third. > Good solutions may have even more functions. > ========================================================================= > ======================================================================== > I really don't have a clue how to solve these so any help as to what sort of > algorithm and java code implementation that I could use, would be very much > appreciated. > > > To change your JDJList options, please visit: > http://www.sys-con.com/java/list.cfm > > To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm > To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
