Q1.
Write a java script code to accept a number from user and write a function to
calculate sum of all odd digits of that number.
Q2.
Write html code to display following list. (use internal CSS to format the
list)
Arts
• BA
• MA
ii. Commerce
• Bcom
• Mcom
iii. Science
• B.Sc.
• M.Sc.
<html>
<body>
<ol
type ="i">
<li>Art</li>
<ul
type="Disc">
<li>BA</li>
<li>MA</li>
</ul>
<li>
Commerce</li>
<ul
type="Disc">
<li>Bcom</li>
<li>Mcom</li>
</ul>
<li>Science</li>
<ul
type="Disc">
<li>B.Sc</li>
<li>M.Sc</li>
</ul>
</ol>
</body>
</html>