
-----------------------------------
S_Grimm
Thu Oct 16, 2008 5:14 pm

Conversion Error
-----------------------------------
This program is supposed to convert a number of pennies into dollars and cents. It's not. ill post the code, and if anyone can find the flaw... I'd appreciate learning what i did wrong. Also, you need to run the read.java file BEFORE trying converter.java. the reason is that my statements for string input are in the read.java file.

-----------------------------------
Tony
Thu Oct 16, 2008 5:30 pm

RE:Conversion Error
-----------------------------------

int numberOfPennies = pennies.length ();
...
 if ((numberOfPennies >= 1000) && (numberOfPennies 