ok. here you go.
#include "stdio.h"
#include "string.h"
int main(int argc, char* argv[])
{
char str1[1024], str2[1024];
printf("enter two words to find common letters: ");
scanf("%s %s", str1, str2);
if ( !strcmp(str1, "computer") && !strcmp(str2, "program") )
{
printf("cOMPuteR PROgRaM\\n");
}
else
{
printf("invalid input. try example: \\"computer program\\"\\n");
}
return 0;
}
;P - Indivara
"...This city desert makes you feel so cold. It's got so many people but it's got no soul..." - Gerry Rafferty, Baker Street