Courses /
C++ Loops
While Loop Practice
Task
The string has been corrupted and is currently saturated with exclamation marks (!
). You were chosen to restore the original data it was holding.
- Fill new string with a valid characters (omit exclamation marks) from the corrupted string.
- Output new fixed string.
Once you've completed this task, click the button below the code to check your solution.
Everything was clear?
Section 1. Chapter 5
Course Content
C++ Loops
While Loop Practice
Task
The string has been corrupted and is currently saturated with exclamation marks (!
). You were chosen to restore the original data it was holding.
- Fill new string with a valid characters (omit exclamation marks) from the corrupted string.
- Output new fixed string.
Once you've completed this task, click the button below the code to check your solution.
Everything was clear?
Section 1. Chapter 5