Hello I'm new to coding and in my class, we have jumped straight into coding with zero experience and or lessons, this is my first assignment and i am completely lost.
Write a program that reads text from a file. Create a 2-dimensional character array that is
6 * 7. Store the characters read in your array in row major order (fill row 0 first, then row
1, etc.). Fill any unused spaces in the 2-D array with the '*' character. If you have more
characters than space, ignore the excess characters.
Extract the characters from your array in column-major order (pull from column 0 first,
then column 1, etc.). Build a new string as you extract the characters. Display the new
string.
Here is an example for the input string
"It was a bright cold day in April, and the clocks were striking thirteen."
Output string: IatdAat apn bcyrdwro i aililtsgdn, h h e
+1
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Hello I'm new to coding and in my class, we have jumped straight into coding with zero experience and or lessons, this is my first ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Hello I'm new to coding and in my class, we have jumped straight into coding with zero experience and or lessons, this is my first assignment and i am completely lost. Write a program that reads text from a file.