blob: 68e51fd85b4eb41ece1450322ac562e0799bafd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//example-12.1
//page no-382
//given
//degree of polymerization of styrene
DOP=10000
//formula of styrene= C8H8
//molecular weight of styrene monomer
Mm=12*8+1*8
//molecular weight of polymer
Mp=DOP*Mm
printf ("the molecular weight of styrene polymer is %d",Mp)
|