Variables
int, double, string, bool types; type deduction with auto, and const constants.
Simple enough for a 5-year-old to understand
Typed variables
#include <iostream>#include <string>using namespace std;int main() { int age = 36; double height = 1.72; string name = "Alex"; cout << name << " " << age << " " << height << endl; return 0;}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: Mersin