Sunday 8 September 2013

Java help!! CLA to Double?

Java help!! CLA to Double?

I need to ask the user for 4 command-line arguments, then use those values
for computation in my program. My question is, how do I convert the CLA's
to type double? Also, if they don't enter the correct number of CLA's I
need to print an error, when would I check for this (i.e. before my
computation or after)?

No comments:

Post a Comment