mercredi 5 août 2015

How to represent time in structure using C? [on hold]


I am beginning to code in C and the first assignment I got has this question of structure that I am unable to understand.Even a simple logic would be of great help.How should I proceed?

"Define a structure to represent time in hours (0-23), minutes (0-59), and seconds (0-59), and then write a function that accepts an argument of type time represented by this structure and updates it by one second & 30 seconds."



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire