Where would I put the code if the response is true?
if(response.equals("Yes")){
answer = true;
}else{
answer = false;
}
Type: Posts; User: mpamigos
Where would I put the code if the response is true?
if(response.equals("Yes")){
answer = true;
}else{
answer = false;
}
No, I'm new to Java coding.
I'm not sure how to do that.
So, this is a GPA Calculator. I want it to allow the user to enter the number of classes they have and use that number to determine how many times to ask them what the grade is.
import...