Thread: who can do this C program?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2021
    Posts
    4

    who can do this C program?

    Make a structure to model time with Hours, Minutes, Seconds, and AM_PM(char).
    Write a function that takes two times and returns either of three values.

    _It returns 0 if both times are the same.
    _It returns 1 if the first time is after the second time.
    _It returns -1 if the first time is before the second time.

    For example, 6:30:10 PM is after 11:55:40 AM.
    In the main program test your function.
    Attached Images Attached Images who can do this C program?-whatsap-jpg 

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 01-25-2020, 05:06 PM
  2. Replies: 5
    Last Post: 03-15-2016, 03:29 PM
  3. Replies: 2
    Last Post: 09-09-2014, 02:36 PM
  4. Replies: 1
    Last Post: 03-03-2009, 04:47 PM
  5. Replies: 18
    Last Post: 11-13-2006, 01:11 PM

Tags for this Thread