rendered paste bodyimport java.io.*;
public class TvShow
{
public static void main(String[] args) throws IOException
{
String protagonist, hiro, antagonist, heshe;
heshe = "Hello";
BufferedReader tricorder = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Input the series' protagonist:");
protagonist = tricorder.readLine();
System.out.println();
System.out.print("Input the protagonist's occupation:");
hiro = tricorder.readLine();
System.out.println();
System.out.print("Is the protagonist a he or a she?(Type m or f)");
String gender = tricorder.readLine();
if(gender == "m") heshe = "He";
else heshe= "She";
System.out.print("Input the series' villain:");
antagonist = tricorder.readLine();
System.out.println();
System.out.println(protagonist + " is the " + hiro + ". " + heshe +" alone will stand against the " + antagonist + ".");
}
}