Answer:
Your program is correct.
Step-by-step explanation:
You have this requeriments:
- James doesn't want to sit next to Jill.
- Betty and Herb are dating and want to sit next to each other.
- Bob must sit on an aisle.
- Aisle on either end.
Your answer:
public class Seating{
public static void main (String [] args)
{ String James;
String Jill;
String Betty;
String Herb;
String Bob;
system.output.println(Bob + "," + Jill + "," + Herb + "," + Betty + "," + James + "."; } //Bob is an aisle. James is not sit next to Jill. Betty and Herb are sit together.
}