How to convert minutes into hours and minutes
CODE
How to convert
minutes into hours and minutes
Input time in minutes and covert it in to valid hours and minutes
int main()
{
    int
min,h,minute;
   
printf("\n Enter the minutes:");
   
scanf("\n %i",&min);
    h=min/60;
   
minute=min%60;
   
printf("\n Hours=%d and Minutes=%i",h,minute);
}
Output:
Enter the minutes:
70
 Hours=1 and Minutes=10
How to convert minutes into hours and minutes
 Reviewed by Unknown
        on 
        
December 14, 2018
 
        Rating:
 
        Reviewed by Unknown
        on 
        
December 14, 2018
 
        Rating: 
No comments:
If you have any doubt or query ,comment below: