Os lab report(shell coding)

5
1. Write a program that arrange the input numbers as ascending order. 2.Write a program that check the input number whether it is even or odd. 3.Write a program to find maximum number.

Transcript of Os lab report(shell coding)

Page 1: Os lab report(shell coding)

1. Write a program that arrange the input numbers as ascending order.

2.Write a program that check the input number whether it is even or odd.

3.Write a program to find maximum number.

Page 2: Os lab report(shell coding)

4.Write a program to check whether a year is leap year or not.

5.Write a program to check whether a number is negative, positive or zero.

6.Write a program to make shape like output.

Page 3: Os lab report(shell coding)

7.Write a program to show the shape as output.

8.Write a program to show the pyramid shape.

9.Write a program to find out factorial.

Page 4: Os lab report(shell coding)

10.Write a program to to calculate the sum of the first n terms of a series.

11.Write a program to find area of rectangular.

12.Write a program to converts days to years, weeks and days