There are eight pints in a gallon, and 1.76 pints in a litre. The volume of a tank is given as 2 gallons and 4 pints. Write a program which inputs this volume in gallons and pints and converts it to litres. (Answer: 11.36 litres)
Write some statements in Java which will exchange the contents of two variables a and b, using only one additional variable t.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here