it's my first thread here and i need help plz with this question below:
The purpose of the program is as follows. A line of programming code is to be entered from the keyboard. Part of the code will be contained between a “Begin” string and an “End” string. The program is to write out the block of statements between these two strings. For example, if the input line is :
Some blocks of programming start with Begin statement1 statement2 and finish with End statement3 statement4.
The output will be: statement1 statement2 and finish with
i. Write the data table and the final design for this program.
ii. Write a C++ program as a console application to implement the design. You can b. You are now asked to design, and to implement, a program to check that “Begin” and “End” in a sentence match. For example, the “Begin” and “End” fail to match in each of these sentences:
This code Begin is used Begin for testing End purpose.
This code with Begin some words End is for End testing Begin code.
The first has a missing “End” and the second, although having two of each, has “Begin” and “End” which do not pair up correctly.
Submit the program to your tutor along with five runs of your program using input lines of your choice. Annotate each output with a brief comment indicating what aspect of the program is being tested by this choice of input line.