We can use data types in Rust to condition the type of data associated with the variables. For example-
“`c
let alphabet: char;
“`
Above, `char` is the data type that mark that the `alphabet` variable be able only store the character data.
## Data Types in Rust Program :
Follow the four primary data types in Rust program also known as scalar types:
1. Integer
2. Floating-Point
3. Boolean
4. Character
5. Compound
## 1. Integer Type :
In Rust, we can use integer data