Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mathematical Expressions Analyzer
#3
adgarza:

I have now downloaded both your files, the .bas and .txt.  I tried a few examples, and, they worked fine!  It seems to me that you have done a good job!

Now, as to improvements you may want to consider, I would place as number one, that, once you have entered an expresion with one or more variables, after asking for the variable(s) values, to me, the next logical step would be the program's request of, instead of
"Again (Y/N)"
use
"Same function (S), New function (N), Quit (Q)"
or some such expression, and revise your code accordingly.  You see, to me, it is logical that one may want to evaluate the same expression over and over.  Of course, one can improve this more and more, but, a the minimum, it would be nice to nat have to input the same function more than once, if one is goingto evaluate it more than once.
What do you think?
A somewhat more sophisticated change would be, once the function is entered, to show a list of all  the variables, with default values, starting with all zeros the firsts time, then, retaining the values entered, and allowing one to change any one or more of the values shown, then reevaluate the answer automatically. 
You have already done the core of the program, for which I salute you.  And, you certainly don't have to do any of my suggested additions, but, if you don't think it is really worth your time, I will certainly do so to my copy.
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply


Messages In This Thread
Mathematical Expressions Analyzer - by adgarza - 11-09-2008, 04:35 AM
Re: Mathematical Expressions Analyzer - by Ralph - 11-11-2008, 08:01 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)