Question:Conversion from uppercase to lower case using c program 

Answer 
#include<stdio.h>
#include<string.h>
int main(){
  char str[20];
  int i;
  printf("Enter any string->");
  scanf("%s",str);
  printf("The string is->%s",str);
  for(i=0;i<=strlen(str);i++){
      if(str[i]>=65&&str[i]<=90)
       str[i]=str[i]+32;
  }
  printf("\nThe string in lower case is->%s",str);
  return 0;
}
 

+ Report
Total Preview: 1133
Conversion from uppercase to lower case using c program
Copyright © 2024. Powered by Intellect Software Ltd