Question: verview Pro involves Backspace typing. You are curious how much effort it t to type a C program (or a paper for your English class,

verview Pro involves Backspace typing. You are curious how much effort it t to type a C program (or a paper for your English class, or whatever). This project assumes you are a touch typist. It captures the keystrokes that ab Enter each stwhentingersandoci midtextrand prints E LLE o some basic statistics regarding your typing. The diagram at the right shows what fingers are used for each of the different keys. For our projec assumptions: t, we will make a couple of simplifying . We will never use the Caps-Lock or . We ignore white space. We assume there is a single space or tab or newline between tokens/strings, but we When entering a capital letter (or any punctuation character that uses the Shift key), then you count two fingers TAB or Ctrl or Alt or Backspace keys. do not count this in our totals (since we do not know what finger you used to generate the white space) 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 assume that no one single token/string in the input will ever be l than 50 characters The Quick Brown FOX jumps over the lazy old zebra or cat or moon or pool or DOG control-d # include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
