write a program in c to convert lower case string to upper case string using logical operators
Answers
Answered by
0
Answer:
Below is the step by step descriptive logic to convert string to uppercase.
Input string from user, store it in some variable say str.
Run a loop from 0 till end of string.
Inside loop check if current string is lowercase then convert it to uppercase str[i] = str[i] - 32. Now, why subtracting it with 32.
Explanation:
please mark brainliest
Similar questions