Lab 02 - Getting to Know printf

Lab 02 - Getting to Know printf - CIS*1500 Computer Lab #2:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CIS*1500 Computer Lab #2: Getting to know printf Duration : 40-50 minutes Objective : This lab will give you hands-on experience with the material presented in the classroom lab. The goal of this exercise is to make you familiar and comfortable with using printf to output data, and how to format printf statements according to your needs (or the needs of your boss). To begin, you'll need to follow the procedure learned last week for creating a new project in Pelles C and entering source code. If you're having a hard time getting started, you may wish to review last week's lab. As part of our job with the Downtown Canada Regional Municipality, we've been asked by the local library to write a program that prints out information about a patron. The information is as follows: First Name A string up to 20 characters long. Last Name A string up to 15 characters long. Phone #- Three numbers, a 3 digit area code (X), a 3 digit city code (Y), and 4 digit extension (Z): (XXX) YYY ZZZZ...
View Full Document

This note was uploaded on 04/17/2011 for the course CIS 1500 taught by Professor Kramer during the Fall '06 term at University of Guelph.

Page1 / 2

Lab 02 - Getting to Know printf - CIS*1500 Computer Lab #2:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online