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 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
You know the right answer?
C++:
Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode...
Questions
question
Geography, 16.10.2020 21:01
question
Mathematics, 16.10.2020 21:01
question
Business, 16.10.2020 21:01
question
Mathematics, 16.10.2020 21:01
Questions on the website: 13722367