#include #include main(){ char t[5][20]; int x,xx; cout <<"Enter 5 names below--"<>t[x]; } char temp[20]; for(xx = 0;xx<5;xx++){ for(x=0;x<4;x++){ if(t[x][0] > t[x+1][0]){ strcpy(temp,t[x]); strcpy(t[x],t[x+1]); strcpy(t[x+1],temp); } } } cout <<"Sorted Names--"<