who can help me,I don't know what happened?And I'm a new man
-
import java.util.Scanner;
public class ScannerTest{
public static void main(String[] args){Scanner sc = new Scanner(System.in); int height1 = sc.nextlnt(); int height2 = sc.nextlnt(); int height3 = sc.nextlnt(); int tempHeight = height1 > height2 ? height1 : height2; int maxHeight = tempHeight > height3 ? tempHeight : height3; System.out.println("maxHeight:" + maxHeight); }}
-
Not sure exactly what your question is going to be, but I suspect it is going to be about Java code and not Notepad++.
If that’s the case, it isn’t appropriate for this forum. Please find another place to ask it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login