Hello world
We will follow the customary first program "hello world".
Variables
In this we will assign variable.
Data type
Integer types
Arrays and tuples
In rust, the data types of all array element have to the same. We can declare an
Function
Example of function.
if else
Control flow using if else:
Loop
Iteration using loop: