Hello, im having trouble understanding how to correct my actual output to match my sample output (instructions and sample output provided in photo) Im not concerned with the command line requirement but more understanding why my array is losing some letters and printing differently. (my code provided in other photo) Below i have included what is my actual output and what the sample file text looks like. **sample text file** This is an example text. This is another line. ************************* **output**** (base) jovyan@jupyter-kar6r:~/3240/lab4$ gcc lab4problem1.c -o lab4Problem1 (base) jovyan@jupyter-kar6r:~/3240/lab4$ ./lab4Problem1 This is an example te t..This is another li (base) jovyan@jupyter-kar6r:~/3240/lab4$
Hello, im having trouble understanding how to correct my actual output to match my sample output (instructions and sample output provided in photo)
Im not concerned with the command line requirement but more understanding why my array is losing some letters and printing differently. (my code provided in other photo)
Below i have included what is my actual output and what the sample file text looks like.
**sample text file**
This is an example text.
This is another line.
*************************
**output****
(base) jovyan@jupyter-kar6r:~/3240/lab4$ gcc lab4problem1.c -o lab4Problem1
(base) jovyan@jupyter-kar6r:~/3240/lab4$ ./lab4Problem1
This is an
example te
t..This is
another li
(base) jovyan@jupyter-kar6r:~/3240/lab4$
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images