Hi.

I have just started to look at Perl Running version Active Perl
5.8.7.813 on Windows XP. I am trying to program a script/program ( to
run in command prompt)to calculate empirical and molecular formulas .
Percentage of f.ex C and H is given and the empirical formula is printed
on the screen. Formula weight is going to be used for the molecular
formula and the reult is of course printed on the screen. It would be
nice if the symbols and atom weight could be entered from the keyboard
to be able to calculate different types but actually if someone could
show me a script that fixes the calcultaion with C and H I would be
quite happy. I can not find anything in the Perl books I have that
"shows me the way" to solve this. Would be nice if it is done as easy as
possible or I will not understand a thing of how it is done ;-)

Feelingsostupid.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to