Basic Variables Entry C++ Programming

#include <iostream>

int main() {
    // Declare variables
    int integerVariable;
    float floatVariable;
    double doubleVariable;
    char charVariable;

    // Initialize variables
    integerVariable = 10;
    floatVariable = 3.14f;
    doubleVariable = 2.71828;
    charVariable = 'A';

    // Output values
    std::cout << "Integer Variable: " << integerVariable << std::endl;
    std::cout << "Float Variable: " << floatVariable << std::endl;
    std::cout << "Double Variable: " << doubleVariable << std::endl;
    std::cout << "Char Variable: " << charVariable << std::endl;

    return 0;
}