tr [:lower:] [:upper:] < /etc/passwd > somefile
string s = "asdfqwer"; s = s.ToUpper(System.Globalization.CultureInfo.CurrentCulture);
Here's the code for your program: # Loop through the uppercase alphabet letters for letter in range(ord('A'), ord('Z') + 1): print(chr(letter)) BTW you can use this code in Python and try it out for yourself.
No.
Nashik road
You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.
ok, this site will give you a fairly good explanation of how it's done. most people just translate directly but it doesn't quite work that way. http://www.web40571.clarahost.co.uk/roman/calco1.htm
I'll just write a function to do that, I hope the good people won't try to run it as it is.... void function() { char c = 'a'; if( c >= 'a' && c <='z' ) System.out.println("LowerCase"); else if( c>='A' && c <='Z' ) System.out.println("UpperCase"); else System.out.println("Special Character"); }
Ii - v - lxxiv Of course when I gave this answer, it was all in uppercase. II, V, and LXXIV, all uppercase.
[ string toupper $str ] or [ string tolower $str ]
The number one "1" does not have an uppercase/lower case version.
An "algorithm" is a method to solve a problem. These methods are more or less independent of the language. First you think about how you will solve a certain problem, step by step. Then you translate this into a computer program.
Names are usually hard to translate. This name doesn't translate.