TextIO cannot be resolved could you help me what i'm missing in my below code?
Do i need to create a class as TextIO
or do I need to create local variable?
package practice.september;
import java.io.*;
import java.util.*;
public class EggsCount {
public static void main(String[] args) {
int eggs;
int dozens;
int extras;
TextIO.put("How many eggs do you have? ");
eggs = TextIO.getlnInt();
dozens = eggs / 12;
extras = eggs % 12;
TextIO.put("Your number of eggs is ");
TextIO.put(dozens);
TextIO.put(" dozen and ");
TextIO.put(extras);
TextIO.putln();
}
}