Lecture5 - Comp 1200 M Announcements Final Exam Waiting to do Lab 2 until the last minute Send questions about your lab scores to your respective

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

View Full Document Right Arrow Icon
    Comp 1200 M 1/29/2007
Background image of page 1

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

View Full DocumentRight Arrow Icon
    Announcements Final Exam  April 30 , 2007 Waiting to do  Lab 2  until the last minute    Send questions about your lab  scores  to  your respective lab instructors.
Background image of page 2
    Programming with  if  statements  Asks the question  Is this statement  TRUE  or  FALSE What will happen if it is  TRUE  ? What will happen if it is  FALSE  ?
Background image of page 3

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

View Full DocumentRight Arrow Icon
    if   statement the_number > 0 Answer= the_number * 25 FALSE TRUE On to the next commands
Background image of page 4
    Program example if  the_number > 0 Answer = the_number * 25 end
Background image of page 5

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

View Full DocumentRight Arrow Icon
    IF   ELSE the_number > 0 Command sequence if TRUE else FALSE Answer = 0 Answer= the_number * 25 On to the next commands
Background image of page 6
    Program example if  the_number > 0 Answer = the_number * 25; else Answer = 0; end
Background image of page 7

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

View Full DocumentRight Arrow Icon
  if TRUE else if FALSE Display Statement if TRUE else FALSE the_number > 0 Answer= the_number * 25
Background image of page 8
Background image of page 9

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

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

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

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

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

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

This note was uploaded on 04/07/2008 for the course COMP 1200 taught by Professor Rouse during the Spring '07 term at Auburn University.

Page1 / 14

Lecture5 - Comp 1200 M Announcements Final Exam Waiting to do Lab 2 until the last minute Send questions about your lab scores to your respective

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

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