Hi I am finishing up my last homework problem and it ask for you to enter the Golfer A or B They both play 18 holes of golf, It then takes the total strokes for each of them from each hole Then adds that up and determins the winner this is what i have so far, I am not sure how to get it to add up the strokes for each hole.
// Problem 5 Creater by David Warner //
#include <iostream>
using namespace std;
int main()
{
int strokes = 0;
char golf = ' ';
double totalstrokes = 0.0;
int holes = 0;
cout << "Enter number of Holes played. " << endl;
cin >> holes