This preview shows page 1. Sign up to view the full content.
Unformatted text preview: num = Double.parseDouble(args[i]); // converts a text string to a double // if it can. .. if the text string // looks like a number sqr = num * num; System.out.println(sqr); } } }...
View Full Document
This note was uploaded on 11/30/2009 for the course COMP 110 taught by Professor Stotts during the Spring '08 term at UNC.
- Spring '08