C Program For Robot Movement