reset password
Author Message
gchan10
Posts: 27
Posted 15:01 May 23, 2016 |

For this problem, how many arrays do we use?

kknaur
Posts: 540
Posted 15:02 May 23, 2016 |

1

epascua
Posts: 47
Posted 11:42 May 24, 2016 |

Would you use two loops to print the array as it changes or is that not necesary? :o

kknaur
Posts: 540
Posted 11:43 May 24, 2016 |

You should have a method to print the array that can be called repeatedly elsewhere. 

304374842
Posts: 56
Posted 20:31 May 24, 2016 |

So there is one method that prints the array and one method that determines where the person is sitting?

So the print array is only reading the boolean values?

What I'm having trouble with is the segment length with each loop. 

epascua
Posts: 47
Posted 23:27 May 24, 2016 |

What is a"segment length"? 

Edit:

_ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ x _ _ _ _ 
_ _ x _ _ x _ _ _ _ 
_ _ x _ _ x _ _ x _ 

^ Also really confused on what to do at this part. :(

Last edited by epascua at 23:58 May 24, 2016.