hi.. design a expression evaluator.. :)
Of course if you look at anushhprabu' posts you will realise that he only says that because he wants someone to do one for him.
However you would learn a lot from designing an expression evaluator.
How about this, design a space racing game.
The track is defined by a series of way points in 3D space in a cube 100Mk on a side, a ship must pass within 5km of a way point to have passed it.
The track definition will be in a file.
each ship definition will be in a file, a ship is defined by 5 parameters
Thrust, how fast it can accererate in a forward direction
Manuver, how fast it can change direction
Hull, how much damage it can take before falling apart
Guns, the strength of the weapons it has for firing at other ships
Accuracy, how good it is at hitting the target
In any race the sum of Thrust, Manuver, Hull, Guns and Accuracy must be below a given value.
The program will take a parameter giving the ship parameter limit value and multiple file names, 0 or 1 of the named files can be a track definition, the rest must contain a ship definition.
If none of the files is a track file then the program will just verify that all the ships meet the parameter limit.
If 1 of the files is a track file then the program will verify that all ships meet the ship limit and then run a 3 lap race round the supplied course.
Ships will follow this behaviour each turn
1. Fire guns at nearest opponent
2. If required rotate to face the next way point (ths may take more than 1 turn for a ship with low manuver
3. If it is advantagous fire the main thruster.
Ships do not run out of fuel
Ships can not go faster that 0.25c
All files will be text format, editable by and standard text editor.