subject

C++:
Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode is "9a", output is: 9_
Hint: Use two if statements to check each of the two characters in the string, using isalpha().
fix :
#include
#include
#include
using namespace std;
int main() {
string passCode;
cin >> passCode;

/* Your solution goes here */

cout << passCode << endl;
return 0;
}

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:40, debo4965
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
image
Computers and Technology, 22.06.2019 16:10, Olaf2018
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password. keep yourself loggedin when you leave your computer. don’t write your password down and leave it whereothers can find it. share your password with your friends. each time you visit a website, retain the cookies on your computer. use a long password with mixed characters.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, lilobekker5219
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
image
Computers and Technology, 23.06.2019 03:30, mem81
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
You know the right answer?
C++:
Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode...

Questions in other subjects:

Konu
French, 17.04.2020 02:52
Konu
Mathematics, 17.04.2020 02:52