Ok so I am trying to use a try catch to handle error in this simple gas mileage calculator. When I enter some number that are not in the error handeling like
gas = 8.97
begning miles = 853
end miles = 1235
it gives the right result so thats fine, but when I enter 0 for gas or for end miles it...
ok so I want to get input from the user for ending and begining mileage of a car and how much gas that is used during the travle.I got the input boxes set up that works fine but when I try to convert them to ints it does not what I am I doing wrong here?
import javax.microedition.midlet.*...
ok so I am trying to get this game to have a timer and I got it down to the stopwatch thing but Visual Studio 2005 says that
"Error 1 The type or namespace name 'Stopwatch' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Kakashi\Documents\Visual Studio...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.