Friday, 25 May 2018

Program to enter a lower case character and print character in upper case

/* program to print upper case character */
# include <stdio.h>
void main ()
{
char ch ;
clrscr () ;
printf ("/n enter a lower case character:") ;
scanf ("%c", ch ) ;
ch = ch-32 ;
printf ("%c", ch) ;
getch () ;
}

2 comments:

  1. What programming language did you use?

    ReplyDelete
    Replies
    1. In these days we are working on c languages but our team have also knowledge of all other languages i.e python,c++,java and all other first we want to write series of c languages and then start program of other languages.

      Delete

Featured post

Program to find maximum of three number using user define function in C++

A function can be define by the user as per the requirement of the user or programmer . To implement a user define function , a programmer ...