I am trying to figure out how to create a C++ program that has a Subtotal and a Grandtotal. Could someone please help start a program? It has to have a selection and repetition structure in it.

It is really in bad taste (and unethical) to ask people to do your homework for you. Make an honest effort to solve the problem, and we will be happy to help you, but you have to make a start.

Like everyone else has said, you should atleast attempt it before posting on here!

Maybe this might help..

#include <iostream>
#include <vector>
#include <numeric>

using namespace std;

double subTotal(vector<double> &values)
    return accumulate(values.begin(),values.end(),0);

int main(int argc, char *argv[]) {

    vector<double> numbers;


    cout << subTotal(numbers) << endl;

It might give you an idea how to do stuff like Grandtotal etc..