Twelve children (Jim, Sandra, Freddie, Richard, Diane, Mary, Natalie, Jeremy, Henry, William, Sarah and Charles) are to sit at desks in a rectangular arrangement (3 rows of 4 columns of desks). However, William and Jim must sit in the front row (nearest the teacher) because they tend to mess around in class. Sarah must not sit next to Diane as they tend to copy each others' work. Henry must not sit adjacent to (within one space of in any direction) Freddie or Natalie and Sandra and Jim must not be in the same row.
Write a program which asks for a seating plan from the user and checks to make sure it meets those restrictions. The program should then display the seating plan.
So far I have figured out how to ask for and save the seating chart. I also have the logic for Jim and William to be in the first row only. I am not sure how to make check for the other stipulations.
I got the code running as is but it stops asking for seating locations after the first run through the loop. I am not getting any errors either.