Simple Program

Closed Posted Apr 21, 2005 Paid on delivery
Closed Paid on delivery

Its a simple c++ program, with two functions. it will calculate toll and report the entry and exit and display the total time of travel

## Deliverables

Rent A Coder requirements notice: As originally posted, this bid request does not have complete details. Should a dispute arise and this project go into arbitration "as is", the contract's vagueness might cause it to be interpreted against you, even though you were acting in good-faith. So for your protection, if you are interested in this project, please work-out and document the requirements onsite.

calculate_toll function will return a dollar amount or failure(-1 or 0)? arguments are two integers entry and exit point and a boolean peak indicator

? return -1 if entry point or exit point not in range of 1-8 inclusive

return 0 if entry point and exit point are same. if everything is fine calculate and return the toll.

function report_volume will give a report volume(both entry and exit point) at each exit on the autoroute.

Main program will obtain all necessary input data, validate data caluculate and display time elapsed and calculate? and display toll. this process will repeat for fixed number of times of your choice.

? exit designation number miles

? HDG? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1? ? ? ? ? ? ? ? ? 0

? PKT? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2? ? ? ? ? ? ? ? 31

? WES? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? 48

? WOO? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4? ? ? ? ? ? ? ? 64

? HTW? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5? ? ? ? ? ? ? ? 77

? IAD? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6? ? ? ? ? ? ? ? 107

? CTR? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7? ? ? ? ? ? ? ? 120

? STA? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 8? ? ? ? ? ? ? ? 138

TOLL SCHEDULE

.65 for each exit between 1 and 5 inclusive

.75 for each exit between 5 and 8

10% discount for those traveling from between 1 and 8 or 2 and 8

10%surcharge for those traveling entering on exits 3,4,5 or 6 and leaving on 3,4,5, or 6 during peak times 0650-0900 and 1600-1850

example for time 1350 actually means 1:30

## Platform

program will run on microsoft .net and should be written in simle c++ for windows xp

Engineering Microsoft MySQL PHP Software Architecture Software Testing Windows Desktop

Project ID: #3677904

About the project

7 proposals Remote project Active May 12, 2005

7 freelancers are bidding on average $10 for this job

ignexus

See private message.

$9.35 USD in 7 days
(105 Reviews)
6.4
hemashiv

See private message.

$12.75 USD in 7 days
(17 Reviews)
3.6
srkvw

See private message.

$11.05 USD in 7 days
(11 Reviews)
3.1
BomaHawk

See private message.

$11.9 USD in 7 days
(2 Reviews)
0.0
thebrainvw

See private message.

$12.75 USD in 7 days
(0 Reviews)
0.0
salmanrafiquevw

See private message.

$5.95 USD in 7 days
(2 Reviews)
0.0
vw1520790vw

See private message.

$8.5 USD in 7 days
(1 Review)
0.0