I have this code:
/* For loop to count 50 days */
for (int n = 1; n <= 50; n++) {
int solve = 0;
solve = solve++;
item_1.removeDailyDemand();
if ( n % 5 == 0){
}
if (solve == 5){
item_1.isReOrderPoint();
}
System.out.print(n + "\t");
System.out.println (item_1.getQuantityInStock() + "\t");
Been playing around for ages, very new to Java. I just want it to increment "solve" as it does "n" whilst running the for loop.
Been trying most the day and no results!
Thanks