Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       for 'Pb(CO3)2';
    
    # Prints "The weight of Pb(CO3)2 is 327."
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    print("The weight of $_ is ", weight($_), ".\n")
       for 'Pb(CO3)2';