CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 14
Section
Deliverable
Points
Lab 4
Step 5: Program Listing and Output
45
Lab Steps
Preparation:
If you are using the Citrix remote lab, follow the login instructions
located in the iLab tab in Course Home.
Locate the Visual Studio 2010 icon and launch the application.
Lab:
Step 1: Requirements: Phone-Dialing Program
Write a program that simulates the dialing of a phone number.
A user will input an 8-place number, for example: UN9-3177 (note that
the hyphen is considered a digit).
The rules for entering phone numbers follow.
8 places It may have numbers, letters, or both. The phone number cannot
begin with 555. The phone number cannot begin with 0. The hyphen
must be in the 4th position. No other characters
(@#$%^&*()_+=\|/><="" p="">
If all of the rules are met, you will output a message to the console that
reads like the following.