<aside> <img src="/icons/home_green.svg" alt="/icons/home_green.svg" width="40px" />

Back to Home

</aside>

https://jennychen9827sbu.github.io/CAD281/datatype.html

What are Data Types? Data types tell the computer what kind of information you want to store and how to store it.

Here are the main data types you'll use:

Here's a simple program using different data types:

int age = 20;
char initial = 'J';
float height = 5.8;
double weight = 65.5;

Each variable stores one specific type of data, making it clear to the computer how to handle that information.

specifer table.png