|
Re: C Programming Homework Help Needed
Quote:
Originally Posted by Joel J.
As one step, you can remove the & sign from your printf statements.
For example,
printf("Time of flight is %f seconds.\n", &time);
becomes:
printf("Time of flight is %f seconds.\n", time);
|
Thanks Joel, that did it.
To answer another question, I'm using the Borland C 5.5 compiler.
__________________
2003-2006: FRC Team 67 - Drafter, Driver, Student Leader
2006 Volunteering: Kettering Kickoff Ref, Team Ford FIRST Robotics Invitational Ref
2007 Volunteering: GLR Field Reset/Repair; WMR Robot Inspector and Scorekeeper; MARC Referee
2008 Volunteering: WMR Planning Committee, WMR Scorekeeper, MARC Ref, IRI Scorekeeping, WMRI Scorekeeping & DJ
2009 Volunteering: Kettering District, MARC, IRI, and WMRI Scorekeeper/Field Power Controller
2010 Volunteering: Kettering District, MARC, IRI, and WMRI Scorekeeper/Field Power Controller
2011 Volunteering: Waterford District, West Michigan District, MARC, & IRI DJ
2012 Volunteering: Waterford District, West Michigan District DJ
|