problem

This is a discussion on problem within the C++ Programming forums, part of the General Programming Boards category; #include<iostream.h>
main()
{
int number;
cout<<"a number less than 24 please!";
cin>>number;
while (number>=24)
{
cin>>number;
}
return 0;
}
...