I see
Okay thank you, I will try that
Type: Posts; User: docthoi
I see
Okay thank you, I will try that
"How would you describe the condition you want to test in the if statement in English?"
If the input is larger than 2000 and that the bonus is larger than 400, then shows "Unacceptable ..."
Because...
It says ". expected instead of this token" while highlighting two commas and a } sign
Alright, thanks anyway
"What is the error message for the }?"
It's clumped together in one error message, along with the other commas.
I'm reading the link right now
"if (deposit>20000, bonus>400) "
and
"else if (deposit<=2000, bonus<=400) "
oh and the "}" in the "} // CollegeSavings class " is reported as error as well
I wanted to make two if statement...
import hsa.*;
// The "CollegeSavings" class.
public class CollegeSavings
{
public static void main (String[] args)
{double deposit, bonus, output;
Stdout.println("Please input...
Here's the assignment I was given:
The government introduces a new program of educational savings accounts. It adds a 20% bonus of whatever you contributed to the account up to a maximum of a $400...