You are viewing a single comment's thread. Return to all comments →
public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println((scan.hasNextInt()) ? ("Good job") : ("Wrong answer")); scan.close(); }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Int to String
You are viewing a single comment's thread. Return to all comments →