C:\myJavaPgms\HwScore.java:52: possible loss of precision
found : double
required: int
switch (grade)
^
1 error
Tool completed with exit code 1
Is it possible to use the switch with a double?
Thanks for your help...
This post has been edited by *noClue*: 28 March 2009 - 12:51 AM

New Topic/Question
Reply



MultiQuote





|