Announcements

6/29/99


Click here to start


Table of Contents

Announcements

Today�s Topics

Review

Introduction to Variables

What Happens in a Declaration?

Variable Names -- Identifiers

Assignment

Assignment Syntax

Booleans

Some history

Constants

Naming Conventions

Conditional Statement -- If

Block statements in if statements

More on block statements

Second Form of if statement

Example of Nested Ifs

Operator Syntax

Operator Precedence

Input (briefly)

Characters and Strings (briefly)

Getting Input from user

Example

Small Formatting Tricks

Discussion Issues

Author: millett

Email: millett@cs.cornell.edu

Home Page: http://www.cs.cornell.edu/cs100-su99/

Other information:
CS 100 Summer 1999 Lecture Notes