Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Having an issue with this program. It's C language. Code it however you like. Thanks. CS 100 Project Three - Spring 2018 involves typing, You

Having an issue with this program. It's C language. Code it however you like. Thanks.

image text in transcribed

CS 100 Project Three - Spring 2018 involves typing, You are curious how much effort it takes class, or whatever. This project assumes you clasper whateve m (or a paper for assur English caches when fingers (index, midd strand prints &BLLLLLLLLL E are a touch typist. It captures the keystrokes that ELELL makes when typing a block of text and prints some basic statistics regarding your typing The diagram at the right shows what fingers ane used for each of the different keys. For our project, 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 plas the pinky finger of the other hand. For example, typing a two keystrokes the left middle fir ger (for the 3 key) and the right pinky (for the Shift key). For this program, you need to identify the number of keystrokes that cach finger performed when typing a block of text. Two sample executions of the program are shown below (imput in red, expected output in blue). You can the input will ever be longer t assume that no one s token than 50 characters. # include int main (void) The quick brown fox jumps over control-d 14 strings entered the lazy old zebra or cat oz dog print "Roll Tideln") return0 contro1-d 2 typed using only the left hand 0 typed using only the right hand 52 total keystrokes 13 strings entered 0 typed using only the left hand 1 typed using only the right hand 13 Left index 8 Left middle 3 Left ring 6Left pinky 8 Right index 2 Right middle 10 Right ring 2 Right pinky 74 total keystrokes 11 -Left index 9-Left niddle 1-Left ring LeEt pinky 10 Right index 8Right niddle 10 Right ring 14 Right Create a directory project3. In that directory, create a file named keys.e that contains your code .Make sure you have a header comment with your name and the purpose of the program To submit your project, bundle your project3 directory into a single (compessed) zip file. Once you have a compressed zip file that contains your project3 code, submit that file to Blackboard. Project 3 is due at 5:00pm on Friday,February23. Late projects are not accepted

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

Excel caculation on cascade mental health clinic

Answered: 1 week ago