Question: Using DCDL to write a program that replaces a * b by a b and a**b by a b, where a and b
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
