#include<stdio.h> void main() { char a,b; printf("enter a and b"); scanf("%c%c",&a,&b); if(a==b) printf("%c",a); }