PROGRAM TO CONVERT LOWER CASE STRING TO UPPER CASE. | CODE WITH SHARAD

PROGRAM TO CONVERT LOWER CASE STRING TO UPPER CASE.

Written by Sharad Raj on 24th of May, 2018

BASIC PROGRAMS   C LANGUAGE PROGRAMS   STRING PROGRAMS

PROGRAM CODE

#include<stdio.h>
#include<string.h>
int main()
{
char s[20];
int i,sum=0;
printf("Enter the string in lower case: ");
gets(s);
strupr(s);
printf("String in UPPER case is : %s ",s);
return 0;
}


Comments


Contact