To get value from user, use the following code



actually the "Double.parseDouble()" is used to convert input String type into Double. BUt i dont know how for this syntax works. If it does not...