Search:

Type: Posts; User: mia_tech

Search: Search took 0.07 seconds.

  1. Re: checking for digit while reading from a file

    this is my implementation, but I'm getting "imputMisMatchException"


    public static void mixedF() {
    int numbers = 0;
    int words = 0;
    int num;
    try {
    ...
  2. Re: checking for digit while reading from a file

    nextInt() will give you an error once it encounters a letter... how would you handle that?
  3. checking for digit while reading from a file

    guys, let's say I have a file that contains

    1
    33
    b s
    4
    10
    f
    a
    120
Results 1 to 3 of 3