// Program CountMarks counts punctuation marks in a file.
#include <iostream>
#include <fstream>
usingnamespace std;
int main ()
{
ifstream inData;
char symbol;
int periodCt = 0;
int commaCt = 0;
int questionCt = 0;
int colonCt = 0;
int semicolonCt = 0;
inData.open("file.dat");
/* FILL IN */
return 0;
}
after finishing the program codes
add the code necessary for program CountMarks to count blanks as well.