==================== .FRIENDSHIP CALCULATOR. ==================== Code: #include<stdio.h> #include<string.h> #include<conio.h> main() { clrscr(); char name[20],n[20]; char *pointer; int a,b; printf("\n NAME: "); gets(name); printf("\n FRIEND's NAME: "); gets(n); b=0; for(a=1;n[a]!='\0';a++) { pointer=strchr(name,n[a]); if(pointer) { b=b+1; } } b=b*25; if(b>=100) { printf("\n %s AND %s ARE 100% TRUE FRIEND'S."name,n); } else { printf("\n %s AND %s ARE %d% TRUE FRIEND'S."name,n,b); } getch(); return 0; }