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 Volume of given box in java

class volume { public static void main (String args []) { int l=5,b=6,h=10; int volume; volume=l*b*h; System.out.println (" vol...