Subash Chandran posted: "Scanner sc = new Scanner(System.in); // Create a Scanner object String userName = sc.nextLine();//read input string int age = sc.nextInt(); //read input integer long mobileNo = sc.nextLong(); //read input long double cgpa = sc.nextDouble(); //read input "
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.