1. rabbit runs a distance of d in this way. it runs for half the distance and waits for half the time it took for run that distance
before it starts to run the rest of the distance. Each time it runs half of rest of the distance and waits as said before. If the rest of the distance
is 10 or less than 10 it runs at a stretch. Find the total time taken to run the distance. From the user take the input of
speed and total distance.
2. Draw a hexagon with input of N taken from user. If N=3 the hexagon looks like below
* - *
3. take from user a string expression containing integers and other characters including operators like +,-,?,*,&& etc. evaluate the
expression only for the + and - signs and ignore rest of the characters. If 24+34*?-90-60 is the string you have to calculate 24+34-90-60.
The string should end with = character
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
C language on unix