I am developing a pill reminder for Electronics Final year project. I need to store the name of the pill, the number of times it is taken, the hours it is taken during and whether it is currently active or not. I created a class pill as below, and stored the pills in an array:I am developing a pill reminder for Electronics