View unanswered posts | View active topics It is currently Sat Oct 25, 2014 8:06 am






Reply to topic  [ 3 posts ] 
speed of sound for evening class 
Author Message
Rookie

Joined: Thu May 30, 2013 3:40 pm
Posts: 4
Post speed of sound for evening class
I have the speed of sound program working up through part 2. It is driving forward, decelerating, backing up, turning right and continuing. How do I get it to turn a random angle? I researched the "rand" command, couldn't get it to work. Not even sure if that is what I should use. I have attached code.


Attachments:
speed of sound.c [1.63 KiB]
Downloaded 96 times
Mon Mar 17, 2014 1:44 pm
Profile
Moderator
Moderator

Joined: Thu Jan 03, 2013 5:10 pm
Posts: 198
Location: The plateau north of the Ohio River Valley, also known as Cave Country.
Post Re: speed of sound for evening class
Have you checked out this page?

_________________
I'm not a robot! I'm british! ~ quote from an asparagus
I am not a robot! I am a unicorn! ~ quote from a robot


Tue Mar 18, 2014 2:24 pm
Profile
Rookie

Joined: Thu Oct 09, 2014 8:01 am
Posts: 1
Post Re: speed of sound for evening class
It is driving forward, decelerating, backing up, turning right and continuing. How do I get it to turn a random angle? I researched the "rand" command, couldn't get it to work.

_________________
Mohsin


Thu Oct 09, 2014 8:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.