Explore BrainMass

Write interactive program that uses scanf()

Need to read in 7 strings input by the user.It need to print the seven strings as list than sort them alfabeticaly and print new list.use strcmp() for sorting. Also use #define N_STRINGS 7

Solution Preview

Dear My friend,

Your program is as follow:


#define N_STRINGS 7

int main() {

//char S1[MAX_STRING_LEN];
char ...