(b) Write a computer program (not a spreadsheet) to perform the same task-that is calculate mole and mass fractions from measured chromatographic peak areas. The program should perform the following steps:i. Read in N the number of species to be analyzed:ii. Read in M1 M2 M3 . . . MN the molecular weights of the species:iii. Read in k1 k2 k3 . . . kN the calibration constants for the species;iv. Read in Nd the number of chromatographic analyses performed;v. For the first analysis read in the measured peak areas A1 A2 A3 . . . AN;vi. Calculate and print out the sample number the mole fractions of each species in the sample and the mass fractions of each species in the sample;vii. Repeat steps v and vi for each of the remaining analyses. Test your program on the five-sample data set given in part(a).