using STL containers and templates, how to write a program that stores the Fibonacci sequence up until the nth number and the summation and also the index number given by user
The way you do ask implies that you know how to compute Fibonacci sequence but you don't know how to use the C++ standard library. Is this a correct assertion?