|
Titlul: uppercase stringuri Scris de: corina elena din Decembrie 16, 2012, 01:26:36 Write a program that does the following:
1. Ask the user to enter up to a line of text and store it in a string s. 2. Transform each alphabetical character in s into its uppercase form. If a character is not an alphabetical character—do not modify it. 3. Output the uppercase string to the console window. Your program output should look like this: Enter a string: Hello, World! Uppercase string = HELLO, WORLD! Press any key to continue Cam cum ar trebui sa fac? Am incercat sa transform string-ul intr-un const char* si m-am cam pierdut in cast-uri. Titlul: Răspuns: uppercase stringuri Scris de: corina elena din Decembrie 16, 2012, 10:12:11 Rezolvat, nu mai conteaza.
|