Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Form 1 : Working with Loops - The first form will have two button click events: First Button Click Event: Using a Do Loop with

Form 1: Working with Loops - The first form will have two button click events:
First Button Click Event: Using a Do Loop with a Sentinel value of -1 ask the user to type in the list of courses they have completed (ex: CI5115). As they enter the courses, display the courses in a listbox.
Second Button Click Event: Once the course listbox has been populated, the user will select a course from the listbox that will be converted into a new string using the guidelines given below.
This event must validate that a course has been selected from the listbox before the process of generating the new string coded name can be done. (Hint: see page 274.)
If a course has been selected, that name should be read into the program and converted to 'code' as follows:
All letters are converted to lower case.
All vowels within the string should be removed.
Replace numbers should be converted as follows:
1 will become an exclamation point (!)
2 will become the letter z(lower case)
3 will become the letter E(upper case)
.4&8 will become dollar signs ($)
5 will become the letter S(upper case)
6 & 7 will become ampersands (&)
0&9 will become letter o (lower case).
Once the 'coded course' name has been created, it is to be displayed in the output textbox.
Form 2: Working with Text Files and Arrays - The second form will have two events: Load Event and a button click event:
Before you begin working on your code, you need to create a CSV text file. The file name should be Courses.txt. This file should be stored in the Project's bin/Debug folder and should contain at least 6 records. Each record will be made up of the following felds:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions