10. Input your first and last name, all in lower case and joined together (ex: johnsmith). Write a program to separate your first and last name and capitalise the first alphabet of these names. Use the string type for the name and use character function (slide 7) to capitalise the first name letters (ex: John Smith)
10. Input your first and last name, all in lower case and joined together (ex: johnsmith). Write a program to separate your first and last name and capitalise the first alphabet of these names. Use the string type for the name and use character function (slide 7) to capitalise the first name letters (ex: John Smith)
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Need help with example 10 please and thank you
![10:57 M
令ll 34%
M9- Strings - Saved
空
Character functions- uses <cctype>
• We can use individual character functions to check a character
and manipulate it. Here are a few character functions
isalpha(ch) Returns true if ch is an upper or lower case
letter.
isdigit(ch) Returns true if ch is a decimal digit
isspace(ch) Returns true if ch is a whitespace character.
islower(ch) Returns true if ch is an lower case letter.
isupper(ch) Returns true if ch is an upper case letter.
tolower(ch) Returns the lowercase version of ch if ch is an
uppercase character, returns ch otherwise.
toupper(ch) Returns the uppercase version of ch if ch is a
lowercase character, returns ch otherwise.
Notes
Comments
Claractu fanctions- uses ccryp
Emple 2
ASCII and C++ char
Wc dd adu
a cht t
e
C n L
deir
C
A
tu duft e
d de
kr e t
k nds ACE el f wa
k
7
8
9.
<]](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F83f8fd0e-20e0-4045-b7e0-eac2c26a0bae%2Fcab39b23-75b7-47b0-96b0-3454c49162ff%2Fvyks56_processed.jpeg&w=3840&q=75)
Transcribed Image Text:10:57 M
令ll 34%
M9- Strings - Saved
空
Character functions- uses <cctype>
• We can use individual character functions to check a character
and manipulate it. Here are a few character functions
isalpha(ch) Returns true if ch is an upper or lower case
letter.
isdigit(ch) Returns true if ch is a decimal digit
isspace(ch) Returns true if ch is a whitespace character.
islower(ch) Returns true if ch is an lower case letter.
isupper(ch) Returns true if ch is an upper case letter.
tolower(ch) Returns the lowercase version of ch if ch is an
uppercase character, returns ch otherwise.
toupper(ch) Returns the uppercase version of ch if ch is a
lowercase character, returns ch otherwise.
Notes
Comments
Claractu fanctions- uses ccryp
Emple 2
ASCII and C++ char
Wc dd adu
a cht t
e
C n L
deir
C
A
tu duft e
d de
kr e t
k nds ACE el f wa
k
7
8
9.
<]

Transcribed Image Text:10:57 M
令ll 34%
M9- Strings - Saved
Example 10, 11
These are assignment questions
10. Input your first and last name, all in lower case and joined together
(ex: johnsmith). Write a program to separate your first and last
name and capitalise the first alphabet of these names. Use the
string type for the name and use character function (slide 7) to
capitalise the first name letters (ex: John Smith)
11.Here is a random password "kHXzapU1zZgGvH7K". Write a
program that will separate the letters and the numbers and store
them into two different strings. Then print these two strings.
Notes
Comments
Exanupla 10. 11
Exanpla 12. 13
Sample Quir Quastions
The
12W ante e e'niken
Tu wie
Que wil hhd ed
agy ia dprk
11Wr ante nte nwInuvaur
e
N RrM rtpii
19
A
21
20
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 3 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education