+ 2

Can i create a code to see the typing speed of a person

typing speed

22nd Jun 2017, 7:01 AM
Chiranjiv Singh Singh
Chiranjiv Singh Singh - avatar
4 ответов
+ 9
0) Get program begin time 1) Get user to input a string of specific length 2) Get program end time 3) Get (end-begin) time 4) Divide length of string with (end-begin) time You will be able to obtain approx' WPM/CPM of user.
22nd Jun 2017, 7:12 AM
Hatsy Rei
Hatsy Rei - avatar
+ 8
0) This won't be working on SL for console codes because user input is obtained prior to program execution. 1) Can't help without code provided.
22nd Jun 2017, 7:16 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
Don't you just love watching fictional movie/TV coders type flawless code (including comments!!) at 120+ WPM without stopping to think? That's what I want to be able to do when I grow up. 🤖
22nd Jun 2017, 7:59 AM
David Ashton
David Ashton - avatar
0
yep I wrote this but it is not working
22nd Jun 2017, 7:13 AM
Chiranjiv Singh Singh
Chiranjiv Singh Singh - avatar