{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

208 Day 03 Assgn&Data types

208 Day 03 Assgn&Data types - 4002-208 Intro to...

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

View Full Document Right Arrow Icon
4002-208 Intro. to Prog. [in C++] Day 03 Assignment Statement & Data Types
Background image of page 1

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

View Full Document Right Arrow Icon
Objectives Numeric data types Assignment Statement Type conversions 4002-208 Page 2
Background image of page 2
Data Types Integer (counting) char 1 byte -128 to +127 short 2 bytes -32,768 to +32,767 int 4 bytes +/- 2 x 10 9 Examples int age; int age, numEmp; int age = 0; //declare age with initial value of 0 Most commonly used types are in bold. Page 3 4002-208
Background image of page 3

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

View Full Document Right Arrow Icon