C++ supports various data types like integers, floating-point numbers, characters, and more.
#include <iostream>
using namespace std;
int main() {
int age = 25;
float height = 5.8;
char gender = 'M';
cout << "Age: " << age << endl;
cout << "Height: " << height << endl;
cout << "Gender: " << gender << endl;
return 0;
}