Hey guys,

I'm kind of new to programming, and i set my self a task to make a program that find 25% of any number, well i did it in a couple of hours using the following code

Code:
#include <iostream>

using namespace std;

float main()
{
 float num1;


 {
 cout <<"this a simple percentage program";
 cout <<endl;
 cout <<"to find 25% of any number";
 cout <<endl;
 }
 float x = 10;
 while ( x = 10 ){
 cout <<"insert the number you want to find 25 percentage of:  ";
 cin >> num1;
 cout <<"the percentage of:  "<< num1 << endl;
 cin.get();
 cout <<"would be: "<< 25 * num1 / 100 << endl;
 cin.get();
 x++;
 }

 return 1;
}
Now i feel i need a new task but can't think of anything suitable, so I wonderd if you guys and gals had any ideas?

Thanks
Dave