Funct::function1()
{
int num;
cout<<"how many loops?";
cin>>num;
}
Funct::function2()
{
int i;
//now the question is how should I pass the num variable
//in the first function to the for in the second loop function..
//I should place the num variable inside the condition...
for(i=0;i</*num*/;i++)
{}
}