data type c++

#include <iostream>

int main() {
    // Integer Data Types
    int integerVariable = 10;
    short shortVariable = 5;
    long longVariable = 100000;
    long long longLongVariable = 1000000000;

    // Floating-point Data Types
    float floatVariable = 3.14f;
    double doubleVariable = 2.71828;

    // Character Data Type
    char charVariable = 'A';

    // Boolean Data Type
    bool boolVariable = true;

    // Displaying Values
    std::cout << "Integer Variable: " << integerVariable << std::endl;
    std::cout << "Short Variable: " << shortVariable << std::endl;
    std::cout << "Long Variable: " << longVariable << std::endl;
    std::cout << "Long Long Variable: " << longLongVariable << std::endl;
    std::cout << "Float Variable: " << floatVariable << std::endl;
    std::cout << "Double Variable: " << doubleVariable << std::endl;
    std::cout << "Char Variable: " << charVariable << std::endl;
    std::cout << "Bool Variable: " << boolVariable << std::endl;

    return 0;
}