Skip to content

AraavNayak/MolarMass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MolarMass

This program calculates the molar mass of a given compound. The compound can be an element (such as H), binary compound (such as NaCl), or can even be composed of multiple compounds separated by an asterisk (such as KNa*H2O).


Sample inputs:
H 
Cu(NO3)2
3AgNO3
KNaC4H4O6*4H2O
Al2(SO4)3*Cu(OH)2

Corresponding outputs (amu):
1.01
187.57
509.64
282.25
439.74

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages