Answer to Question #273120 in UNIX/Linux Programming for Kumaraguru

Question #273120

Write a program to convert lowercase letter to uppercase struptr() function.

1
Expert's answer
2021-11-30T00:37:35-0500

include<stdio.h>

#include<string.h>

int main()

{

char s[100];


// take input

printf("Enter a string: ");

scanf("%[^\n]",s);


// display output

printf("In Upper Case:\n");

puts(strupr(s));


return 0;

}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS