-1
struct date{ int y;
                    int m;
                    int d;
 long int calculate_date(/*struct variable */)
     {
      //....
     }
};
void main ()
{/*here how to call function and define struct var*/

}

Edited by Nick Evan: Fixed formatting

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Narue
0

i dont know, how to call function then calculate dates . example : 1998,1,12 until this date , all dates

1

So basically you don't know how to write the program and want us to hold your hand (or do it for you). Sorry, but no go. You'll have to work a little harder than that for your code to count as proof of effort.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.