Make a Script by C

  • Status Closed
  • Budget N/A
  • Total Bids 30

Project Description

Hello,

I need to make a script.

It's a script of telecommunication site.

here i am giving you the idea.

you have to write a program in C,which will take total 4 input from user(peak hour starts,peak hour ends,talk time starts,talk time ends).then your program will calculate the duration of the call and the duration of talk time peak hour and the duration of talktime in off peak hour.

Example:-

Input:

======

Peak Hour starts: 23:12

Peak hour ends: 2:12

Talk Time starts: 21:12

Talk time ends: 3:40

Output:

======

Total Talktime : 388 minutes

Peak: 3 hour 0 minute

Off-Peak: 3 hour 28 minute

Note:duration of peak hour/talk time will never exceed 24.

Get free quotes for a project like this
Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online