Using C++ and functions: Write a program that reads in a line of text and outputs the
Fantastic news! We've Found the answer you've been seeking!
Question:
Using C++ and functions:
Write a program that reads in a line of text and outputs the line with all the digits in all integer numbers replaced with 'x'. Please enter a line of text: My userID is john17 and my 4 digit pin is 1234 which is secret My userID is john17 and my x digit pin is xxxx which is secret Notes:
If a digit is part of a word, then the digit is not changed to an 'x'. For example, john17 is NOT changed to johnxx.
You may assume that the text entered by the user will contain only letters (upper case or lower case), digits and spaces.
Think how to break down your implementation to functions.
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: