Question: 2 (28%) Create a function print-double-spaced (cs) that takes a C string as argument and prints the characters of that string separated by a space.

2" (28%) Create a function print-double-spaced (cs) that takes a C string as argument and prints the characters of that string separated by a space. For example, the string hello world should be printed as Note that a total of three spaces are printed between the words hello and word in this example. No space should be printed before the first character of the string or after the last one. Implement the function as efficiently as possible. Hint: Don't use strlen. 3, (36%) Create a program that reads a file containing a list of songs and prints the songs, five at a time, to the screen. After each block of five songs, the program asks the user to press enter for more. If there are no more songs to show, the program stops. If the last block contains less than five songs, the program prints them and stops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
