Monday, December 10, 2007

How to use for loops

How to use for loops

To use for loops

#include

main ()

{

int i,number;

for (i=1 ; i<=5 ; i++)

{

cout<<"Please enter number = ";

cin>>i;

}

//cout<

return 0;

}

Result :

No comments: