Connect with one of the following accounts


Please wait while we redirect...

Views: 146   

Following program shows you how to convert days to hours.
In this program we get days from user, once we get those we need to multiply with 24 so that we get in hours

#include <stdio.h>

int main(void) {
    int days;

    printf("Please enter days:");
    scanf("%d", &days);

    int hours = days * 24;

    printf("%d Hours", hours);


Please enter days: 55
1320 Hours

On By

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News