#includeIn this example, we create a vector named `myvector` that contains five integers. We use the `at` function to retrieve the value stored at index 2 and print it to the console. The output will be `myvector[2] = 30`. Code example 2: ``` #include#include int main() { std::vector myvector = {10, 20, 30, 40, 50}; std::cout << "myvector[2] = " << myvector.at(2) << std::endl; return 0; }