CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 28
Call find() and pass a space and start as parameters and return the
returned value
to start
if start equals to string::npos
jump outside the loop permanently
call substr() function
display the word
update newString
increment start by one
assign start to begin
End While
Call substr()
Update newString
Return newString
Step 3: Create a New Project
Create a new project and name it LAB5B. Write your code using the
Processing Logic in Part B, Step 2. Make sure you save your program.
Step 4: Compile and Execute
a) Compile your program. Eliminate all syntax errors.
b) Build your program and verify the results of the program. Make
corrections to the program logic if necessary until the results of the
program execution are what you expect.