basic 2 c++.cpp
#include<iostream> using namespace std; int glo = 6; void sum() { int a; cout<<glo; } int main() { int a = 5, b = 9; int glo = 8; glo = 78; float pi = 3.14; char c = 'u'; //bool true mean 1 and false mean 0 bool is_true =false; sum(); cout<<glo<<is_true; // cout <<"the value of a is "<<a<<"\nthe value of b is "<<b; // cout<<"\nthe value of pi is "<<pi; // cout<<"\nthe value of pi is "<<c; return 0; }