Arrays-wave-print column wise


getting testcase0 wrong and testcase2 run error?