Words of Wisdom:

"if arnold is the cal governor, then what will be his next hollywood project" - Ictus5

Devry Cis 170 C Ilab 4 of 7 Functions

  • Date Submitted: 05/23/2016 03:10 AM
  • Flesch-Kincaid Score: 64.9 
  • Words: 1281
  • Essay Grade: no grades
  • Report this Essay
Check this A+ tutorial guideline at

http://www.assignmentclick.com/cis-170/cis-170-c-ilab-4-of-7-functions


For more classes visit

http://www.assignmentclick.com

CIS 170 C iLab 4 of 7 Functions
Lab # CIS CIS170C-A4 Lab 4 of 7: Functions Lab Overview – Scenario/Summary
You will code, build, and execute a program that simulates the dialing of a phone using functions.
Learning outcomes:
Distinguish between pass by value and by reference. Call functions using &. Write functions using value and reference. Be able to define and use global named constants. Be able to debug a program with syntax and logic errors. Be able to use the debug step-into feature to step through the logic of the program and to see how the variables change values.Deliverables
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 (@#$%^&*()_+=\|/>
If all of the rules are met, you will output a message to the console that reads like the following.
Phone Number Dialed: UN9-3177 *the number entered
If all of the rules are not met, then you output one of the following error messages to the console.
ERROR - Phone number cannot begin with 555 ERROR - Phone number cannot begin with 0 ERROR - Hyphen is not in the correct position ERROR - An invalid character was entered
It will then prompt the user to try again.
This...

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments