Page 1 of 1

~thank you!

Posted: Sun Jul 10, 2022 11:27 am
by answerhappygod
~thank you!
Thank You 1
Thank You 1 (20.42 KiB) Viewed 67 times
CHALLENGE ACTIVITY Start 10.3.1: Character operations A 3-character string, userPassword, is read from input. Replace the first character in userPassword with @if the first character is alphabetic Replace the second character in userPassword with 'S if the second character is alphabetic. If neither condition is true, userPassword is not changed. Ex: If the input is bh2, then the output is: @$2 1 #include <iostream> 2 #include <string> 3 #include <cctype> 4 using namespace std; S 6 int main() 7 8 9 10 11 12 13 14 15 16 string userPassword; getline(cin, userPassword); Your code goes here / cout << userPassword << endl; return 0; H