forked from Daniel-Calderon/team_strings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt~
23 lines (17 loc) · 854 Bytes
/
readme.txt~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// team_strings HW assignment
// Fully implement the functions below and answer the questions provided.
// // Name your C++ file: lastName_teamString.cpp
//
//
string initials(string strA)
// receives a string comprising first, middle and last name and returns the initials of each name, capitalized
// TEST: Maria Sera Turing returns MST
int countAlpha(string strA)
// receives a string comprising a sentence, counts and returns the number of alphabetical
// characters a -> z and A -> Z are the alphabetical characters.
int countWords(string strA)
// receives a string comprising a sentence, counts and returns the number of words in a the sentence.
// words are separated by spaces.
bool isPalindrome(string strA)
// receives a string and returns true if the string is a palindrome
// a one character string will be considered a palindrome