Wednesday, October 5, 2016

গল্পটা প্রোগ্রামিং-এর (A tale of Programming): Tutorial 6- Calculate months and days

#include<stdio.h>
main()
{
    int month,days;
    printf("Enter days:");
    scanf("%d",&days);
    printf("%d Months and  %d days\n\n\n",(days/30),(days%30));
}

Output

No comments:

Post a Comment