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*/
}
Happy Family
0
Newbie Poster
Recommended Answers
Jump to PostSo 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.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.