[29019 views]

In this article, we will be learning how to convert all the small letters in the string to capital letters without a built-in programming function. We will draw a flowchart, write an algorithm and Simple Program in C for performing Case Conversion to Lower to Upper Case.

So Let's Start.

In this pseudocode, we declare an array of string str and a variable i. We read the string and then we run for loop to get each character of the string. We will check if each ASCII value of each character is between the value of a and z. If yes, then subtract 32 from each character to convert them into capital letters. For example, let us take string "tall" it will enter the loop as well as if statement now the 't'(ASCII value=116) will be subtracted with 32 to get 106 which is "T" now 'a'(97) will go inside the loop, it will convert to 65 which is "A". The same will happen with 'l' and at last, we will get "TALL" .

- Algorithm and Flowchart to find the inverse of an array
- Algorithm and Flowchart to check whether a number is twisted prime or not
- Algorithm and Flowchart to Find Area and Circumference of Circle
- Algorithm and Flowchart to check whether a given number is magic number or not
- Algorithm and Flowchart to Find GCD of Two numbers

- Algorithm and Flowchart to find if a Number is Even or Odd
- Algorithm and Flowchart to find whether a number is Prime Number or Not
- Algorithm and Flowchart for Armstrong Number
- Algorithm for Finding Factorial of a Number
- Algorithm and Flowchart to Calculate Fibonacci series up to n
- How to round a number to nearest integer using python
- Can we have DB table without a primary key?
- Why does everyone hate Java?
- How much JavaScript to learn for Web Development
- How to store password like sensitive information in application