Using DCDL to write a program that replaces a * b by a b and a**b
Question:
Using DCDL to write a program that replaces a * b by a b and a**b by a ¯
b, where a and b are any characters other than *. For example, if a 1
a 2 * a 3 * *a 4 ***a 5
is the input string then a
1 a
2 a 3 ¯ a 4 *** a 5
will be the output string.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: