| | |
I need help making a program
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Solved Threads: 0
Hello, i want to write a program to print out a table showing time in 0.1 sec, soldier’s position, arrow’s position, and the distance in feet between the arrow and the soldier every tenth of a second until the arrow hits the soldier or he escapes, if he was X feet away from the barbarian when the arrow was loosed. Assume that the arrow travels at a constant velocity of 72 mph and the roman soldier runs at a constant speed of 12 mph. The range of the arrow is 120 feet. Print out how many seconds it took for the arrow to hit the
soldier or for the soldier to escape. The only input that is required is the distance of the soldier from the barbarian when the barbarian took the shot.
soldier or for the soldier to escape. The only input that is required is the distance of the soldier from the barbarian when the barbarian took the shot.
•
•
•
•
Originally Posted by LoS_RoOcKoO
Hello, i want to write a program to print out a table showing time in 0.1 sec, soldier’s position, arrow’s position, and the distance in feet between the arrow and the soldier every tenth of a second until the arrow hits the soldier or he escapes, if he was X feet away from the barbarian when the arrow was loosed. Assume that the arrow travels at a constant velocity of 72 mph and the roman soldier runs at a constant speed of 12 mph. The range of the arrow is 120 feet. Print out how many seconds it took for the arrow to hit the
soldier or for the soldier to escape. The only input that is required is the distance of the soldier from the barbarian when the barbarian took the shot.
As the rule of the Forum first you have to do something instead asking someone for doing it .
You have to show what have you done and what's the problem I see here like u wanna ready programm not help...
Submit your code and then people will help to find your problem...
![]() |
Similar Threads
- Remote Access/VNC-like Program? (Visual Basic 4 / 5 / 6)
- Program running in the background and in the tray (C#)
- Making a program run when send to someone else? (C++)
- Want help making program access a web page automatic. (C)
- Making a program that will display the result of a coin (C++)
- Please help me out with this C++ program (C++)
- Im lost in my program, plesae please help (C)
Other Threads in the C Forum
- Previous Thread: Help creating a data file
- Next Thread: Marking Program
| Thread Tools | Search this Thread |
* adobe api append array arrays bash binarysearch centimeter char character cm copyanyfile copypdffile createcopyoffile createprocess() csyntax directory dynamic execv feet fgets file floatingpointvalidation fork frequency function getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux highest histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer license linked linkedlist linux linuxsegmentationfault list lowest match matrix meter microsoft mqqueue multi mysql oddnumber odf open openwebfoundation overwrite pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scheduling segmentationfault send shape single socketprogramming stack standard strchr string strings suggestions test testautomation unix urboc user whythiscodecausesegmentationfault win32api windows.h






