Question: Create a program in C I codec Now 1 #include 2 #include 3 #include 4 #include 5 6 // REFERENCE 7 // http://www.cplusplus.com/reference/cstdio/ 8 //

Create a program in C

Create a program in C I codec Now 1 #include 2 #include

I codec Now 1 #include 2 #include 3 #include 4 #include 5 6 // REFERENCE 7 // http://www.cplusplus.com/reference/cstdio/ 8 // http://www.cplusplus.com/reference/cstring/ 10- int main(void) { 11 // create a 50 character string named si 12 13 // create a 100 character string named s2 14 15 printf("Enter si (up to 50 characters): "); 16 // use fgets to read up to 50 characters into string s1 17 // don't forget to handle the new line character! 9 18 // use a string function to copy si to s2 AND append "III" on one line // then print s2 one character at a time on a single line using a for loop: // s2 = "" // create a 50 character string named s3 19 20 21 22 23 24 25 26 27 28 29 30 31 } 32 // use a string function to copy the first 13 characters from s2 to s3 and Il print s3 right justified: s3 = " string here" ... return (0)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!