C/date

Advertisement


Question
how can i calculate the age using the present date then outputing the age down to the week of birth...or extracting the present date from year down to days...

thanks!

Answer
First of all, can you solve this mathematiclly?
If yes, then the same steps can be used to write your C program.
So, first of all come out with steps mathematically (or in plain ENGLISH) and then I will tell you how to create a C program with it.

-Narendra

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.