I was working on the random functions programs and i dont know the prototypes for random and randomize please can some one help me ??
Expand|Select|Wrap|Line Numbers
- #include<iostream.h>
- #include<conio.h>
- #include<stdio.h>
- const int max=3;
- void main()
- {
- randomize();
- int number;
- number=50+random(max);
- for(int p=number;p>=50;p--)
- cout<<p<<"#";
- cout<<endl;
Function 'randomize' should have a prototype
function 'random'should have a prototype