c++ initializse variable with ,abda code example
Example: initialisation of a c++ variable
//<Data type> <variable name>;
//static initialisation:
int acceleration=4;
//alternative:
int acceleration;
acceleration=4;
//dynamic \initialisation:
int acceleration;
std::cout<<"Enter the value of the acceleration\n";
std::cin>>acceleration;