this is my implementation, but I'm getting "imputMisMatchException"
public static void mixedF() {
int numbers = 0;
int words = 0;
int num;
try {
...
Type: Posts; User: mia_tech
this is my implementation, but I'm getting "imputMisMatchException"
public static void mixedF() {
int numbers = 0;
int words = 0;
int num;
try {
...
nextInt() will give you an error once it encounters a letter... how would you handle that?
guys, let's say I have a file that contains
1
33
b s
4
10
f
a
120