Question: Please use the data from the second picture to create this project. Or i could include it after the given code to see the result.
16 July 2018 Consider the text file "2013-07 - Citi Bike Trip Data.taxt" posted on Blackboard- the input file. Write a C++ program to compute number of male, female, and unknown users for each bike station. The program will write its output into another text file bike_statistics.txt-the output file. Input Format Each line in the input file contains the recorded information of a single trip from a starting bike station to an end bike station Trip Duration Start Time Stop Time Start Station Id Start Station Name End Station Id End Station Name Bike Id User Type User Gender Output Format The output file will contain a line (or lines) at the beginning of the file explaining the output. This is followed by the following line and corresponding computed values shown as a table below: Number ofmale users Number offernale users Number ofunknown users Station Id Instructions The C++ program will be comprised of a main function and a function bikeStatistics that computes and outputs the computed statistics. The program will include all necessary checks and assertions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
