C Program to Convert Minute to Hour

C Program to Convert Minute to Hour

Write a Program to Convert Minute to Hour

// C Program to Convert Minute to Hour

#include <stdio.h>

int main()
{
	int min;

	printf("Enter Minutes :--> ");
	scanf("%d", &min);

	printf("Hour : Minute :--> %d : %d" ,min/60, min%60);

	return 0;
}

Output:

Enter Minutes :--> 75
Hour : Minute :--> 1 : 15