It is a well-known phenomenon that most people are easily able to read a text whosewords
Chapter 5, Problem P5.10(choose chapter or problem)
It is a well-known phenomenon that most people are easily able to read a text whosewords have two characters flipped, provided the first and last letter of each word arenot changed. For example:I dnot gvie a dman for a man taht can olny sepll a wrod one way. (Mrak Taiwn)Write a function string scramble(string word) that constructs a scrambled version of agiven word, ran domly flipping two characters other than the first and last one. Thenwrite a program that reads words from cin and prints the scrambled words
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer