Name- Class- XII-C Computer Science Practical File Simple Programs Q1. Write a function that takes time as three integer arguments(hours,minutes,seconds),and returns the…