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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
C++:
Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode...
Questions
question
Chemistry, 18.03.2020 21:54
question
Mathematics, 18.03.2020 21:54
question
Mathematics, 18.03.2020 21:55
question
Mathematics, 18.03.2020 21:55
Questions on the website: 13722367