In this exercise, you modify the Password application from this chapters Apply lesson. Use Windows to make

Question:

In this exercise, you modify the Password application from this chapter’s Apply lesson. Use Windows to make a copy of the Password Solution folder. Rename the copy Password Solution-Spaces. Open the Password Solution.sln file contained in the Password Solution-Spaces folder.
a. Start the application. Type the following three words, using two spaces (rather than one space) to separate each word: programming is fun. Click the Create password button. The Password box displays p5 followed by a space, the letter i, a space and the letter f. Click the Exit button.

b. Open the Code Editor window and locate the btnCreate_Click procedure. The first instruction in the loop concatenates the character that follows the space. Modify the loop’s code so that it performs the concatenation only when the character is not a space. Save the solution and then start the application. Use the information in Step a to test the application. This time, the Password box should display p3if.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: