Infosys interview question

convert a string to uppercase without using inbuilt functions.