Sunday, 7 December 2014

#include<iostream.h>
#include<conio.h>
#include<string.h>
void main()
{
 int i,ac,uc,sc;
 char a[100];
 clrscr();

 cout<<"\nenter string:";
 cin>>a;

      // ac=dc=sc=0;
 for(i=0;a[i]!='\0';i++)
 {
  if(a[i]>=65&&a[i]<=90)
  {
   a[i]+=32;
  }
 }
 cout<<"string is:"<<a;
 getch();
      }