Question: Modify the babynames. cpp program so the most common names given to 10 percent of the population are saved to a file output,txt. 1. #include

Modify the babynames. cpp program so the most common names given to 10 percent of the population are saved to a file output,txt. 1. \#include ciostreams 2 \#include cfstreams \#include estrings 5 using namespoce std; 6% Reads name information, prints the name if total >=, and adjusts the total. Gparan in_file the input stream Pparam total the total percentage that should still be processed void process_name(tfstreans in_file, doubled total) 13f 14 string name; 15 int count; 16. double nercent: Modify the babynames. cpp program so the most common names given to 10 percent of the population are saved to a file output.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
