
Write a program that takes a string and prints it with each alphabetical character repeated according to its 0-based position in the alphabet, followed by a newline.
./index_alpha "bc"bcc./index_alpha "Zap!" | cat -eZZZZZZZZZZZZZZZZZZZZZZZZZppppppppppppppp!$./index_alpha | cat -ewrong number of arguments$index_alpha.cwrite
Run the tests to grade your code
Write a program that takes a string and prints it with each alphabetical character repeated according to its 0-based position in the alphabet, followed by a newline.
./index_alpha "bc"bcc./index_alpha "Zap!" | cat -eZZZZZZZZZZZZZZZZZZZZZZZZZppppppppppppppp!$./index_alpha | cat -ewrong number of arguments$index_alpha.cwrite
Run the tests to grade your code
Memory will appear here