Implement, in chart.c, a program that prompts a user for four non-­negative integers (one for each of M spotting F, F spotting M, F spotting F, and M spotting M), after which it should generate a horizontal bar chart depicting those values, with the first value’s bar on top and the fourth value’s bar on the bottom. You may assume that the user’s terminal window is at least 80 characters wide by 24 characters tall. (You might want to open a terminal window of your own, separate from gedit, as via Menu > Programming > Terminal, so that you can see more output at once.) Each bar should be represented as a horizontal sequence of 0 or more pound signs (#), up to a maximum of 80. The length of each bar should be proportional to the corresponding value and relative to the four values’ sum. For instance, if the user inputs 10, 0, 0, and 0, the first bar should be 80 pound signs in length, since 10 is 100% of 10 + 0 + 0 + 0 = 10 and 100% of 80 is 80, and the remaining three bars should be 0 pound signs in length. By contrast, if the user inputs 5, 5, 0, and 0, each of the top two bars should be 40 pound signs in length, since 5 is 50% of 5 + 5 + 0 + 0 = 10 and 50% of 80 is 40, and the bottom two bars should be 0 pound signs in length. Accordingly, if the user inputs 2, 2, 2, 2, each of the four bars should be 20 pound signs in length, since 2 is 25% of 2 + 2 + 2 + 2 = 8 and 25% of 80 is 20. And so forth. When computing proportions, go ahead and round down to the nearest int (as by simply casting any floating-­‐point values to int’s). You needn’t worry about overflow; you can assume users’ inputs will be reasonably small. Rather than label each bar on the left as Google does, place each label immediately above the corresponding bar; you’re welcome to output some blank lines for clarity so long as the last 8 lines of your output are the bars and their labels. Unlike Week 2’s progress bar, you chart need not be animated. Consider the sample output below; assume that the boldfaced text is what some user has typed.