usec++
8. Name sort Write a program that allows you to input up to 20 names and sorts these names into alphabetic order and outputs them. Show transcribed image text 8. Name sort Write a program that allows you to input up to 20 names and sorts these names into alphabetic order and outputs them.
Answer
#include <iostream>#include <cstring>#include <cstdlib>using namespace std;void sort(char** W, int n){ char temp[100]; int
OR
OR