<body>
<script language="JavaScript">
    function convertC2F (tempInC) {
        return 9/5*tempInC + 32;
    }
    document.write('<h3>Fig 20-1: Convert a couple of temperatures from F to C</h3>');
    document.write('<br>38C is ' + convertC2F(38) + 'F');
    document.write('<br>0C is ' + convertC2F(0) + 'F');
    document.write('<br>100C is ' + convertC2F(100) + 'F');
</script>
</body>