involves typing. You are curious how much effort it takes to type a C program (or a paper for your EnglishoW class, or whatever). This project assumes you Enter are a touch typist. It captures the keystrokes thatCaps Led each of your fingers (index, middle, ring, pinky) makes when typing a block of text and prints some basic statistics regarding your typing 0 The diagram at the right shows what fingers are used for each of the different keys. For our project, we will make a couple of simplifying assumptions . We will never use the Caps-Lock or TAB or Ctrl or Alt or Backspace keys . We ignore white space. We assume there is a single space or tab or newline between tokens/strings, but we do not count this in our totals (since we do not know what finger you used to generate the white space) When entering a capital letter (or any punctuation character that uses the Shift key), then you count two fingers in action (two keystrokes the finger pressing that key plus the pinky finger of the other hand). For example, typing a # is two keystrokes-the left middle finger (for the 3 key) and the right pinky (for the Shift key) For this program, you need to identify the number of keystrokes that each finger performed when typing a block of text. Two sample executions of the program are shown below (input in red, expected output in blue). You can ume that no one single token/string in the input will ever be longer than 50 characters. The Quick Brown FOX jumps over the lazy old zebra or cat or moon or pool or DOG control-d include
int main (void) ( printf ( Roll Tide " return 0 18 strings entered, 63 total characters control-d 2 typed using only the left hand 2 typed using only the right hand13 strings entered, 61 total characters 72 total keystrokes 0 typed using only the Left hand 1 typed using only the right hand 15 Left index 8Left middle 3 Left ring 8 Left pinky 10 Right index 2 Right middle 17 Right ring 9 Right pinky 74 total keystrokes 11Left index 9 t Left middle 1 Left ring 11 - Left pinky 10 Right index 8 - Right middle 10 Right ring