c wap to print or just read nos less then 10 frm user
so
in this u can use a for loop
d program goes
void main()
{
clrscr();
int i;
for(i=0;i<10;i++)
{
cin>>i;
cout<<i<<"/n";
}
so here first it will hav d value zero then it will print zero ,then till will incremnt d value and it will b 1 then it will check for d condition ie wthere 1 is less then 10 if yes it will print it .and so on .
once it reaches 10 then it will check for d condition ie whethr 10 is less then 10 wich is fasle thus d xecution of loop will b terminated and d control will b shiftd to d next line
this was a basic program u can even try it for better once ...
hope it helps ....