hello, i need to make a program that generates a random character.
after that the user have to type the same character on the keyboard
the objective of the program is to calculate the reaction time of the user, i mean, calculate the time spend by the user between the creation of the random character and the input of the user.
i can generate the random character, type that character on the keyboard and see if itęs the same or not but i have no idea how to calculate the reaction time
if somebody can help me