Here is the "calculation" portion of the code:
int tempLeft = sum/perTerm; //Calculates number of terms left
int termLeft = 0;
if ((tempLeft % 4) == 0){
...
Type: Posts; User: mrivera85
Here is the "calculation" portion of the code:
int tempLeft = sum/perTerm; //Calculates number of terms left
int termLeft = 0;
if ((tempLeft % 4) == 0){
...
My apologies - here's the output:
Welcome to the Western Governor's University Graduation Planner!
We will calculate the number of terms you have left until graduation,
along with the amount...
The actual computations aren't working properly when it comes to the remainder. Specifically the variable termLeft. Any suggestions?
package graduationplanner;
import java.util.Scanner;...