Friday, 20 December 2013

Program to convert lowercase to uppercase


#include<conio.h>
#include<stdio.h>
#include<ctype.h> /* char function available in this file */
void main()
{
  int lower,upper;
  lower=getchar();
  upper=toupper(lower);
  putchar(upper);
  getch();
  clrscr();
}


No comments:

Post a Comment