Answer:
Your program is correct.
Explanation:
<u>You have this requeriments:</u>
- 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.
<u>Your answer:</u>
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 + "."; } <em>//Bob is an aisle. James is not sit next to Jill. Betty and Herb are sit together.</em>
}
Answer:
Go to your profile. then click edit. then click preferences and make sure the outlined box is checked
Explanation:
refer to image below