Black-White Mubin | মুবিনের রাফখাতা
Life is like a box of chocolates, you never know what you're going to get..
Wednesday, October 5, 2016
C 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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment