Monday, 30 March 2015

c program for conversion of uppercase to lower case to print ASCII value

 write a c program to convert of uppercase to lower case to print ASCII value
/*conversion of uppercase to lower case ASCII value*/
/*author:sai date:31-3-2015*/

#include<stdio.h>
main()
{
   char ch;
   printf("enter the charter in upper case\n");
   scanf("%c", &ch);
   printf("ASCII value%d\n", ch-32);
}



No comments:

Post a Comment