

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Assignment No. 03 Solution Semester: Spring 2012 Introduction to Computing-CS
Total Marks: 15
Due Date: 18-06-
Objective: To understand the mathematical and logical functions using MS Excel and Control Structures in JavaScript
Please read the following instructions carefully before solving & submitting assignment:
o Assignment should be done by your own efforts not copied from net, handouts or books. o You should submit your MS Word File via assignment interface at VULMS. o Assignment sent via Email will not be replied and accepted/graded in any case. o The assignment submitted after due date will not be accepted/graded. o If the submitted assignment does not open or file is corrupt then it will not be accepted/graded. o If the Stud ent ID is not mentioned in the assignme nt file the n the assi gnment will not accepted/graded.
Suppose following is a work sheet of MS Excel.
Apply the appropriate formulas in MS Excel to find the output of the below mentioned requirements:
Solution:
Write JavaScript code using “For loop” to display all the odd numbers between 1 and 100 (both inclusive). Each number should be displayed on a separate line as follows:
1 3 5 7 9 11 13 . . . . . 93 95 97 99 100
The odd numbers between 1 and 100 are
**