ahh so it makes no sense if i subtracted 1 from the loopcount...
never thought of that using while loop
so it wont over count.. whahahah...
Type: Posts; User: chronoz13
ahh so it makes no sense if i subtracted 1 from the loopcount...
never thought of that using while loop
so it wont over count.. whahahah...
ahh but i supposed its not efficient... i just have to make a loop count... because it wont count if the loop will be false...
whahahahha no sense at all..... just count it.....(it will only count...
ive already solved the mistaken part...
if ((Continue()) == true) {
loopCount++;
}
public class NewMain {
private static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int loopCount = 0;
int negativeCount =...