CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 20
Convert the digit to upper case
Use a switch statement to determine if the digit is valid
and convert the letters to digits
If the digit is invalid, return -1.
If the digit is valid, return 0.
AcknowledgeCall function
Display the Phone Number.
Step 3: Create a New Project
Create a new project and name it LAB4.
Write your code using the processing logic in Step 2 (above). Make sure
that you save your program.
Step 4: Compile and Execute
a) Compile your program. Eliminate all the 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.
Step 5: Print Screen Shots and Program
Capture a screen print of your output (do a print screen and paste into an
MS Word document). Copy your code and paste it into the same MS
Word document that contains the screen print of your output. Save the
Word document as Lab04_LastName_FirstInitial.
END OF LAB
---------------------------------------------------------------------------------