#include using namespace std; int strcmp (char* s, char* p ) { while (*s == *p) { if (*s == '\0' ) return 0; s++; p++; }//end while return (*s - *p); }//end strcmp int main() { char s[30]; char p[30]; cin.getline(s, 29, '\n'); cin.getline(p, 29, '\n'); cout << strcmp(s,p )<