Quote:
Originally posted by Zbyszek:
Sorry but like Lord Shield said it was pseudocode, not Pascal code. I havent used Pasal from 5 years.
BUT this is use of if instruction:
if (condition_true) then
{ program_statement; }
if (condition_true) then
{program_statement;}
else {program_statement;}
I guess you have also read your data from file or keyboard. In Lord Shield code he assumed that he already has whole sequence in one string.
I will repeat - Lord Shield code is pseudocode - do not show it to teacher
|
LOL, I think my teacher would LHAO
Thanks for the advice
------------------
Lady Menqel, Protector of IW's, smiter of evil
http://www.angelfire.com/rpg2/mirac
- Dualled Swashbuckler/Fighter
- Fellow Table Dancer of the Jerome's Table dancer group
- Spell formulater of the IW peace-keeping force
- Thanks to Sazerac for the great sig picture