//C program to convert hours
//into minutes and seconds
#include<stdio.h>

//Function to convert hours into
//minutes and seconds
void ConvertHours(int n)
{
    long long int minutes,seconds;

    minutes=n*60;
    seconds=n*3600;

    printf("Minutes = %lld , Seconds = %lld\n",minutes,seconds);
}
        
//Driver Code
int main()
{
    int n=5;
    ConvertHours(n);
    return 0;
}

    

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: