Write a program that compares two strings without case sensitivity.

#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<iostream.h>

void main()
{
    char st1[100],st2[100];

    clrscr();
    cout<<"Enter first line of text : ";
    gets(st1);
    cout<<"Enter second line of text : ";
    gets(st2);
   
    int n=strcmpi(st1,st2);
    cout<<"\nWithout sensitivity Comparing the two string : "<<n;

    getch();
}

///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........