Write a programming code, the numbers should be double unless it is explicitly stated as integer. If you get a .InputMismatchException error, check if your code used input.nextInt(), but it should be input.nextDouble(). For integers, use int unless it is explicitly stated as long.



Answer :

Other Questions