You are on page 1of 1

Lab Works:

1. Generate following series:


a. Natural Numbers (1, 2, 3, 4, 5………………..)
b. Even Numbers (2, 4, 6, 8…..)
c. Repeating Numbers (1, 2, 3, 1, 2, 3, 1, 2, 3….)
d. Reverse Numbers (1, 2, 3, 2, 1, 2, 3….)
e. Seven Days of Week (both SUN, MON,….. and sunday, monday..)
f. Months of year (both Jan, Feb ….. and January, February….)

2. Given series: 2, 3, 5, 7, 1, 9, 15, 20, 33, 42, 21, 44 Find:


a. Average
b. Max
c. Min
d. Count the elements
e. Sum of series
3. Design a sample bill as below.
ABC Computer Traders
Bhaktapur, Nepal
Sales-Bill
Customer Name: Date:
S.N. Particulars Quantity Rate Total Remarks
1 RAM 2 1000 2000
2
3
4
Net Total
Discount 25%
Tax 13%
Grand Total

4. Design a Mark sheet of a student. If the obtained marks is below 32,


generate * in Remarks column.

You might also like