0

Help! Code coach deja vu

#include<stdio.h> #include<string.h> int main() { char name[80]; char a,b; int i,j,len; fgets(name,80,stdin); len=strlen(name); for(i=0;i<len;i++) { a=name[i]; for(j=i+1;j<len;j++) { b=name[j]; if(a=!b) { printf("Deja Vu\n"); exit(1); } else { printf("Unique"); exit(1); } } } return 0; }

3rd Aug 2020, 6:47 AM
Pankaj Kumar
Pankaj Kumar - avatar
0 ответов