- 4 Write A C Program As Follows 1 Write The Function Void Replace Stringk S That Replaces The Letters Abcabc Of A 1 (43.87 KiB) Viewed 34 times
4. Write a C++ program as follows: 1. write the function void replace( stringk s ) that replaces the letters abcABC of a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
4. Write a C++ program as follows: 1. write the function void replace( stringk s ) that replaces the letters abcABC of a
4. Write a C++ program as follows: 1. write the function void replace( stringk s ) that replaces the letters abcABC of a string s with a pound symbol # 2. write the main function with a while loop where (a) ask the user Enter a string: (b) use the function above to print the string with letters replaced. 5. Write a C++ program as follows: 1. write the function bool is.binary( const string& s ) which returns true if the strings consists of only '0or '1'; for example "101100" is a binary string. 2. write the main() function with a while loop where (a) ask the user Enter a binary string: (b) use the function above to determine whether the string is binary.