81 : C Program to convert lowercase char to uppercase

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





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








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

#include 
//#include 

void main() {

char no;

//clrscr();

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

printf("\n Lower 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.