Random Seats (2)

  1. Modify the printStudents() function in the previous exercise, so that the output looks like:
    
    102241035 103321001 103321002 103321007
    黃瓊儀    游思愉    張仕達    黃柏元
    103321008 103321009 103321010 103321016
    張秝榕    楊甄誼    賴郁伶    邱俊翔
    103321017 103321019 103321021 103321022
    謝長霖    鮑惟仁    胡瑋哲    陳冠銘
    103321024 103321025 103321026 103321027
    潘嘉玲    余正威    張寬宏    黃仲誼
    103321029 103321030 103321032 103321037
    王韋翔    陳政樺    曾冠迪    范均泓
    103321038 103321042 103321047 103321049
    吳怡蓓    詹雅惠    吳芠萱    陳思穎
    103321050 103321063
    周霈菱    吳嘉偉
    
    
  2. Hint: Carefully design a nested loop in the printStudents() function.