Design a flowchart and code for a program that tabulates contributions collected by an organization. The organization wishes to accept contributions until a total of $10,000,000 is met. Once this total is hit, no further contributions should be accepted.
The organization wants the program to read data from an input file (input.in). The following data should be written to a file called results.out
a.The total number of contributions needed to meet the goal of 10 million dollars
b.The amount of the largest and smallest contribution accepted
c.The average contribution size
d.The final total of the contributions accepted