Zigzag Conversion

Designing Zigzag Signs

Problem You’re a shop sign designer, designing a dynamic digital sign for a trendy food truck called Burrito Truck. To catch the attention of hungry passersby, you want to display the restaurant’s name in a visually striking zigzag pattern. P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR " Write the code that will take a string and make this conversion given a number of rows: ...