 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can convert a lower case letter into uppercase letter. Before starting, you can note my information. You can subscribe my YouTube channel through this link that is youtube.com slash sanjaygupta underscore tech school. You can download my programming app, Techimus, which is available on Google Play. Now to implement this concept, I am going to write some code in C programming language. First time including a header file that is stdio.h, then main function. Inside main, I am declaring a character variable ch because I have to read a lower case alphabet from user. So for that purpose, I will be using this ch variable. Now printf. This printf will print a message entered lowercase letter that lowercase letter will be received by this ch variable with the help of person C. And this scanf statement will read that entered letter inside ch variable. Now I have to convert this lowercase letter into uppercase. So first understand the concept lowercase a will be converted into uppercase a. So lowercase a ask I value is 97 whereas uppercase a ask I value is 65. So I have to convert 97 into 65. So if I find out the difference between these two ask I values, so it is 32. You can subtract 97 and 65. So if you subtract 65 from 97 answer will be 32. Now I am going to use this concept in this program. So I am applying ch equals to ch minus 32. So if ch is containing a lowercase letter, its ask I value will be subtracted by 32 and the resultant ask I value will be assigned into ch again. Now I am going to print this ch variable. This printf will print new value of ch on console and this is printed with the help of this person C format specifier. So lowercase is converted into uppercase letter with the help of this ch equals to ch minus 32 and then it is it will be printed again on console using this printf statement. So I hope you have understood this logic. How I have converted uppercase letter into lowercase with the help of ask I values and this will be done automatically by the compiler. So I am removing these statements. Now I am executing this code. You can see it is asking for a letter. I am entering a as lowercase letter. You can see the result. It is printing capital A. So this is for a lowercase a to uppercase a conversion. Now if I want to convert lowercase B into uppercase B. So lowercase B ask I values 98 and uppercase B ask I value 66. Now again find out the difference. The difference is 32. So friends, the difference between lowercase letters and uppercase letters ask I value is 32. This is applicable for all the letters whether it is A, B, C or X, Y or Z. So whenever you want to convert a lowercase letter into uppercase letter, you have to subtract 32 from the ask I value. Now again, I am executing this code. This time I am entering Z small Z or lowercase letter Z. You can see the result uppercase Z is displayed on console. So now I hope you have understood this concept well that what is the importance of ask I values in conversion from lowercase letter to uppercase letter. So if you want to use this concept in your studies, you can now use this ask I value concept to convert lowercase letter into uppercase. If you want to watch more programming related videos, you can follow this URL that is youtube.com. Thank you for watching this video.