int whole numbers. neg, pos.

32 bit number. 4 billion values.

Numbers can be signed or unsigned.

Signed numbers have half the range.

The range wraps around.

 

long also 32 bit

short – 16 bit value.

 

float – for floating point

 

double – double precision floating point value. In C++ doubles can store 15 digits of precision. Decimal places in your answer, or fractional values.

 

INT_MIN and INT_MAX show the range of an int.

 

 

 Please enter in a number: 6

Result: -6

Press any key to continue . . .

 

Langsam

Harrow

 

 

Machines where mechanical. Moving parts.

 

Steam powered.

 

Babbage Analytical Engine

 

Could use punch cards. Stored program.

 

ENIAC – used in WWII helping with the military and trajectory or weapons.

 

Condition Control Transfer

Making use of function.

 

RAM (Random Access Memory).

 

Tapes

 

 

Console –(keyboard)

card feeders

page printers

Cathode Ray Tube (monitor)

Graphing Device

 

Computers got smaller over time. Miniaturization.