MyName Declare a char arrays named name, upperName, lowerName, initialCappedName,. Ask the user to type in their first name. It will go into the name array. The upperName array should contain the name in all upper case letters. The lowerName array should contain the name in all lower case letters. The initialCappedName array should contain the name with the first character being upper case and all others being lower case. Display all four versions of the name. hat is your first name?richard Driginal name:richard Lower case name:richard Upper case name RICHARD Initial capped name Richard rocess returned θ (exe) execution time : 2.781 s ress any key to continue.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.3: Pointer Arithmetic
Problem 4E
icon
Related questions
Question

Programming in C language. 

MyName
Declare a char arrays named name, upperName, lowerName, initialCappedName,. Ask the user to type in their first name. It will
go into the name array. The upperName array should contain the name in all upper case letters. The lowerName array should
contain the name in all lower case letters. The initialCappedName array should contain the name with the first character being
upper case and all others being lower case. Display all four versions of the name.
hat is your first name?richard
Driginal name:richard
Lower case name:richard
Upper case name RICHARD
Initial capped name Richard
rocess returned θ (exe) execution time : 2.781 s
ress any key to continue.
Transcribed Image Text:MyName Declare a char arrays named name, upperName, lowerName, initialCappedName,. Ask the user to type in their first name. It will go into the name array. The upperName array should contain the name in all upper case letters. The lowerName array should contain the name in all lower case letters. The initialCappedName array should contain the name with the first character being upper case and all others being lower case. Display all four versions of the name. hat is your first name?richard Driginal name:richard Lower case name:richard Upper case name RICHARD Initial capped name Richard rocess returned θ (exe) execution time : 2.781 s ress any key to continue.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning