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
icon
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.
<]
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. <]
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
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
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Keywords
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
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education