hi, my code are as follows:
public double increaseBalance(double increment)
{
balance = balance + increment;
balance = balance * 0.99;
return balance;
System.out.println();
}
ok, my problem lies within the line System.out.println(); where i would have the system to display the amount of "balance" present. how can i do that? what would i put in the ()?
public double increaseBalance(double increment)
{
balance = balance + increment;
balance = balance * 0.99;
return balance;
System.out.println();
}
ok, my problem lies within the line System.out.println(); where i would have the system to display the amount of "balance" present. how can i do that? what would i put in the ()?