Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
#include
#include
#include
using namespace std; int main() { unordered_map
people = { {"John", 32}, {"Adele", 45}, {"Bo", 29} }; int total = 0; for (auto person : people) { total += person.second; } cout << "Total age: " << total; return 0; }
Total age: 106