|
Would final String charData = "6.67E-2"; work? A good answer might be:Sure. Scientific notation works as input. | |
Keyboard InputScientific notation is a way of using characters to express a number. When it is converted to a double you get the same double that you would get with ordinary notation. ("6.67E-2" converts to the same double that "0.00667" converts to). Here is the program again. But now it reads input from the keyboard.
Unfortunately, the program is not complete. These are the missing parts, but not in order:
| |
QUESTION 4:Match the lines to the blanks in the program. Click Here after you have answered the question |