vasanth

10-08-2002, 12:03 AM

Well why has the contest here going slugish.. well here is a contest sugestion...

Ok write an efficient program which validates formulaes.... that is brackets

x=x2[{s2(x+y)(x+y)}(x)] is a valid formulae

x=2z)+3x( is invalid and so on...

the program should be able to handle even very big formulaes.....

The contest can also be made like this.. write a function validat which takes an argumen as char array and return an integer

x=validate(array);

so it should return 1 if valid 0 if invalid...

So any one hearing....

Ok write an efficient program which validates formulaes.... that is brackets

x=x2[{s2(x+y)(x+y)}(x)] is a valid formulae

x=2z)+3x( is invalid and so on...

the program should be able to handle even very big formulaes.....

The contest can also be made like this.. write a function validat which takes an argumen as char array and return an integer

x=validate(array);

so it should return 1 if valid 0 if invalid...

So any one hearing....