subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What operating system is a smartphone most likely to use? 1.bsd 2.mac os x 3.symbian 4.linux
Answers: 1
question
Computers and Technology, 22.06.2019 02:20
The reset circuit used on the four 3-bit counters analyzed in this activity reset the counts to zero (000). it makes sense for the up-counters to start at zero (000), but the down-counters should start at seven (111). what would you need to change so that the 3-bit binary down counter with j/k flip-flops you just created would reset to seven (111)?
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead w 4 epizodzie
Answers: 1
You know the right answer?
Hello I'm new to coding and in my class, we have jumped straight into coding with zero experience an...
Questions
question
Social Studies, 16.12.2021 21:40
Questions on the website: 13722360