Comparing it to '0' worked this time... I tried that earlier, but the code didn't compile.
Thanks!
Type: Posts; User: 54stickers
Comparing it to '0' worked this time... I tried that earlier, but the code didn't compile.
Thanks!
public class NumSearch {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int input;
int i=0,g=0,f=0;
int even = 0;
int odd = 0;
int zero = 0;...