DEVRY CIS 170 C I L AB 4 OF 7 F UNCTIONS Check this A+ tutorial guideline at For.

Slides:



Advertisements
Similar presentations
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Advertisements

Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
Chapter 7 What’s Wrong with It? (Syntax and Logic Errors) Clearly Visual Basic: Programming with Visual Basic nd Edition.
CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All Exercises Devry University.
CIS 115 AID Peer Educator/cis115aid.com FOR MORE CLASSES VISIT
CIS 115 All Exercises Devry University (Devry) FOR MORE CLASSES VISIT CIS 115 All Exercises Devry University.
CIS 115 ALL EXERCISES DEVRY UNIVERSITY (DEVRY)  CIS 115 All Exercises Devry University CIS 115 ALL ILABS DEVRY UNIVERSITY (DEVRY)  CIS 115 All iLabs.
CIS 115 AID Teaching Effectively/cis115aid.com FOR MORE CLASSES VISIT
CIS 170 MART Peer Educator/cis170mart.com FOR MORE CLASSES VISIT
Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 115 All Exercises Week 1 to Week 7 Check this A+ tutorial guideline at
DEVRY CIS 115 All iLabs Week 1 to Week 7 Check this A+ tutorial guideline at
DEVRY CIS 115 Entire Course With Final Exam Check this A+ tutorial guideline at For more classes.
DEVRY CIS 321 All iLabs (Week 1 to Week 7) Check this A+ tutorial guideline at ilabs For.
DEVRY CIS 321 Entire Course (All iLabs and Milestones) Check this A+ tutorial guideline at
DEVRY CIS 321 iLab 1 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 2 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 2 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 3 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 3 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 4 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 115 Week 7 Lab Fireworks Stand Checkout Check this A+ tutorial guideline at
DEVRY CIS 321 iLab 5 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 6 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 6 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 iLab 7 Check this A+ tutorial guideline at For more classes visit
DEVRY CIS 321 Week 6 Milestone 5 Part 2 Check this A+ tutorial guideline at milestone-5-part-2 For.
DEVRY CIS 321 All Milestones (Week 1 to Week 7) Check this A+ tutorial guideline at
DEVRY CIS 407 iLab 2 of 7 User Input Web Pages Check this A+ tutorial guideline at input-web-pages.
DEVRY CIS 407 A (All iLabs 1 to 7) Check this A+ tutorial guideline at For more classes.
DEVRY CIS 407 iLab 1 of 7 “Annual Salary Calculator” ASP.NET Web Application Check this A+ tutorial guideline at
DEVRY CIS 407 iLab 3 of 7 User Activity Monitoring Check this A+ tutorial guideline at
DEVRY CIS 407 iLab 4 of 7 Web Forms With Database Interaction Check this A+ tutorial guideline at
DEVRY CIS 407 iLab 5 of 7 Transaction Processing Check this A+ tutorial guideline at transaction-processing.
DEVRY CIS 407 iLab 7 of 7 Error Notification via Check this A+ tutorial guideline at
DEVRY COMP 122 Lab 4 Lab Report and Source Code Check this A+ tutorial guideline at
DEVRY COMP 122 L AB 6 L AB R EPORT AND S OURCE C ODE C HECK THIS A+ TUTORIAL GUIDELINE AT HTTP :// WWW. ASSIGNMENTCLOUD. COM / COMP -122/ COMP LAB.
DEVRY FIN 515 First Course Project Check this A+ tutorial guideline at For more.
DEVRY FIN 515 Second Course Project Check this A+ tutorial guideline at project For.
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
DEVRY CIS 170 C I L AB 3 OF 7 L OOPING Check this A+ tutorial guideline at looping For more.
DEVRY CIS 170 C I L AB 5 OF 7 A RRAYS AND S TRINGS Check this A+ tutorial guideline at
DEVRY CIS 170 C I L AB 6 OF 7 M ENU -D RIVEN A PPLICATION Check this A+ tutorial guideline at
DEVRY CIS 170 C I L AB 7 OF 7 S EQUENTIAL F ILES Check this A+ tutorial guideline at sequential-files.
Check this A+ tutorial guideline at proposal For more classes visit
DEVRY CIS 336 A LL I L AB AND G ROPUP P ROJECTS Check this A+ tutorial guideline at
DEVRY CIS 336 W EEK 1 I L AB 1 Check this A+ tutorial guideline at CIS 336 Week 1 iLab.
DEVRY CIS 336 W EEK 2 I L AB 2 Check this A+ tutorial guideline at CIS 336 Week 2 iLab.
DEVRY CIS 336 W EEK 3 I L AB 3 Check this A+ tutorial guideline at CIS 336 Week 3 iLab.
DEVRY CIS 336 W EEK 4 I L AB 4 Check this A+ tutorial guideline at CIS 336 Week 4 iLab.
DEVRY CIS 336 W EEK 5 I L AB 5 Check this A+ tutorial guideline at CIS 336 Week 5 iLab.
DEVRY CIS 336 W EEK 6 I L AB 6 Check this A+ tutorial guideline at CIS 336 Week 6 iLab.
DEVRY CIS 336 W EEK 7 I L AB 7 Check this A+ tutorial guideline at CIS 336 Week 7 iLab.
CJS 230 Corrections A World Apart Check this A+ tutorial guideline at /CJS-230/CJS-230-Complete-Class- Course For more classes.
STAYER BUS 599 Week 9 Project Deliverable 5 Executive Summary and Presentation Check this A+ tutorial guideline at
CIS 115 Slingshot Academy / cis115.com
CIS 170 Possible Is Everything/snaptutorial.com
CIS 170 Education for Service-- snaptutorial.com.
CIS115 Education for Service-- snaptutorial.com
CIS 115Competitive Success/tutorialrank.com
CIS 170Competitive Success/tutorialrank.com
CIS 115 Lessons in Excellence-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
CIS 170 Lessons in Excellence-- cis170.com. CIS 170 Entire Course (Devry) For more course tutorials visit CIS170C All iLabs 1,2,3,4,5,6,7.
CIS 115 Education for Service-- tutorialrank.com.
CIS 170 Education for Service-- tutorialrank.com.
CIS 115 Teaching Effectively-- snaptutorial.com
CIS 170 Teaching Effectively-- snaptutorial.com
CIS 170 Education for Service-- cis170.com. CIS 170 Entire Course (Devry) For more course tutorials visit CIS170C All iLabs 1,2,3,4,5,6,7.
ms vısual studıo 2008-Introductıon TUTORIAL
Presentation transcript:

DEVRY CIS 170 C I L AB 4 OF 7 F UNCTIONS Check this A+ tutorial guideline at For more classes visit 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: UN (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: UN *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