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.
Peak Hour starts: 23:12
Peak hour ends: 2:12
Talk Time starts: 21:12
Talk time ends: 3:40
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.
28 freelancers are bidding on average $39 for this job
The C standard library provides <time.h> which has all the functions needed to do this. Only basic arithmetic is needed besides that. Can be done today. Let me know what operating system you are using.
Hi,I have total 6+ years of experience in c programming and worked on similar projects that your task looking for.Please let me know if you want me to take up the task