82 : C Program to convert uppercase char to lowercase

Check out the complete list of c-programs : C Program List    





C program to get a uppercase alphabet (char) from user and print it in lower case.








/*
 * 1000+ C programs + tutorials
 *
 * 
 * 82_c_print_char_from_uppercase_to_lowercase.c
 *  
 *  
 *
 *  Created on: Oct 25, 2014
 *  Author: Code2care.org
 */

#include 
//#include 

void main() {

char no;

//clrscr();

printf("Enter a char/Alphabet in Lower Case : ");
scanf("%c",&no);

printf("\n Upper case value of %c is : %c",no,no-32);

//getch();  
   
}











The best way to learn C programming is to practice more and more of programs . Code2care C Programming tutorials provide 1000+ programs in C that you can study and become an expert in the language. Programs are divided into categories depending upon type and complexity.

BSc. IT, BSc. Computer Science, BSc. IT, MSc. IT, MSc. Computer Science, MCA, BTech IT & BTech Engineers may find these programs very useful.