This preview shows page 1. Sign up to view the full content.
Unformatted text preview: program without data types has no value. You always use integers (int), you only ever use real numbers (float) when you need the precision it gives you. You would never use floating-point for indexing, for example, but you might need it if you're making something like a calculator and need to be able to calculate decimal places....
View Full Document
This note was uploaded on 08/29/2010 for the course ENGINEERIN 305 taught by Professor Martincandell during the Spring '10 term at Rio Hondo College.
- Spring '10