turn on and off caps lock, num lock, scroll lock
written in c++
in terminal go to project directory and execute this command
> g++ main.cpp
in terminal go to project directory and execute this command
> ./a.out
this program tested on ubuntu 18.04 and worked properly
after starting the program you should enter your request
by selecting option number 1 num lock will turn on
by selecting option number 2 caps lock will turn on
by selecting option number 3 all lights will turn off
by selecting option number 4 program exit successfully