// datatype.cpp// Examples of variable declaration and initialization#include <iostream>using namespace std;int main(){ // declare a constant for the square root of two const double SQUARE_ROOT_OF_TWO = 1.414214; int i; // i as an integer long j; // j as a long integer unsigned long k; // k as an unsigned long integer float n; // n as a floating-point number i = 3; // i to 3 j = -2048111; // j to -2,048,111 k = 4000000001; // k to 4,000,001 n = 1.887; // n to 1.887 // output constant and variables to the screen cout << SQUARE_ROOT_OF_TWO << endl; cout << i << endl; cout << j << endl; cout << k << endl; cout << n << endl; return 0;}