Tasks
Write a program to read data for vaccinations in the US from a data file here and display in web page format. A vaccination map in the United States shows vaccination by state (Data source: CDC). The data processing tasks include:
//Sample code ifstream inData; ofstream outData; inData.open("inputData.txt"); outData.open("report.html"); //Print table header outData << "<table border=1>" << endl; //Read off the title of the data //Read off the source information about the data //Read off the column titles //Read off the data entry for the first state inData >> ... while(inData) { //Processing data including printing a table row for each state //Read off the data entry for next state inData >> ... } outData << "</table>" << endl;
<link rel="stylesheet" href="https://cscdevprod03.txwes.edu/~yzhang/css/course.css" type="text/css">Note that when putting the link in C++ output statements, make sure to add backward slashes "\" in front of those double quotes inside the link tag to distinguish C++ string double quotes.
What to submit
Submit both C++ program and HTML output file to Blackboard by the midnight of the due day.