Variable Example C++ Program

Variable Example #include using namespace std; int main () { // Definition of variables: int a, b, c; float e; // Initialization of varibles a = 5; b =10; c = a + b; cout << c << endl ; e = 15.0/4.0; cout << e << endl ; return 0; } 

Comments

Popular posts from this blog

Local and Global Variable example C++ program