import java.io.*; /** * Write a description of class UseTextIO here. * * @author (your name) * @version (a version number or a date) */ public class UseTextIO { private TextIO textIO; public UseTextIO() { textIO = new TextIO(); } public void getInput() throws IOException{ BufferedReader br = TextIO.open(System.in); TextIO.prompt("Hello"); TextIO.prompt("\n"); TextIO.prompt("Type an int: "); int ask = TextIO.readInt(br); TextIO.prompt("Your int is: " + ask + "\n"); } }