Alright, here's another one for you guys thats got me absolutely stumped.
It's output is zero. What am I doing wrong?Code:#include <stdio.h> #include <iostream.h> #include <stdlib.h> int random; int main () { rand(random) % 100; cout<<random<<endl; system("PAUSE"); }