class MyClara extends Clara {
/**
* In the ‘run()’ method, we will write the program for Clara
*/
void run() {
int totalSeconds = 0;
// Prompt the user to input time in seconds
totalSeconds = readInt(“Enter time in seconds: “); // Receive the input as an integer
if (totalSeconds < 0) {
System.out.print(“Please provide a positive number.”);
} else {
// Constants for time conversions
int SECONDS_IN_MINUTE = 60;
int MINUTES_IN_HOUR = 60;
int HOURS_IN_DAY = 24;
// Breaking down the total seconds into days, hours, minutes, and seconds
int remainingSeconds = totalSeconds % SECONDS_IN_MINUTE;