string
#include<iostream> using namespace std; int main() { int i; char temp[50],str1[10],str2[10],str[20]; int j,l=0,l1=0; cout<<"enter the FIRST string:="; cin>>str1; cout<<"enter the second string:="; cin>>str2; cout<<"\ncopy string is:"; for(i=0;str1[i]!='\0';i++) { str[i]=str1[i]; } str[i]='\0'; cout<<str; //compare two string i=0; while(str1[i]==str2[i] && str1[i]!='\0') { i++; if(str1[i]<str2[i]) { ...