Week06 - ENEE 140: Introduction to Programming Concepts for...

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

View Full Document Right Arrow Icon
ENEE 140: Introduction to Programming Concepts for Engineers gangqu@umd.edu © Gang Qu Spring 2010 Week 6 Program Selection Lab report: Write your answers to questions 3 and 5 in file week06.txt and submit by: submit 2010 spring enee 140 010? 1 week06.txt Due: 11:59 pm Friday, March 12. Lab 11: Monday March 8 1. lab report week05: You should have completed this lab report, or at least most part of it. If you have questions, ask your UTF/TA at the end of or after the class. 2. sizeof: compile sizeof.c code that is posted at the GLUE class public directory. Run and try to understand the output so you can learn how to use statement sizeof. note: the last printf() statement in this code shows that variable of char type is also treated as an integer. You can do +/-, and print it out as an integer. Remember the followings: ‘a’ to ‘z’ are represented by consecutive integers, which implies that ‘a’+1=‘b’, ‘z’-2 = ‘x’ and so on. Same thing for ‘A’ to ‘Z’
Background image of page 1

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

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

Page1 / 2

Week06 - ENEE 140: Introduction to Programming Concepts for...

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