Answer:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int numBaths = scnr.nextInt();
System.out.println("Baths: " + numBaths);
}
}
Step-by-step explanation:
This code prompts the user to enter the number of baths and then outputs it with the string "Baths: " using the System.out.println() method.