@pbrockway2, wouldn't the value of distanceAnnual change to what ever (distanceDay + amountAYear) is and then return that value? Could you explain why it return 0 ? Also, how can I make it display...
Type: Posts; User: maple1100
@pbrockway2, wouldn't the value of distanceAnnual change to what ever (distanceDay + amountAYear) is and then return that value? Could you explain why it return 0 ? Also, how can I make it display...
Could someone help me figure out why is the print out = 0.0? Thanks
public class AnnualFuelUse
{
//Variables
private int distanceDay;
private double amountAYear ,...