0% found this document useful (0 votes)
23 views15 pages

Sum of First 100 Even Numbers Script

The document provides instructions for creating several shell scripts to display different patterns of output on a screen, including scripts to calculate the sum of even numbers and factorial of a number, as well as scripts to output increasing numbers, stars, or numeric patterns on successive lines.

Uploaded by

Gopal. Gehlot.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views15 pages

Sum of First 100 Even Numbers Script

The document provides instructions for creating several shell scripts to display different patterns of output on a screen, including scripts to calculate the sum of even numbers and factorial of a number, as well as scripts to output increasing numbers, stars, or numeric patterns on successive lines.

Uploaded by

Gopal. Gehlot.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

16- Write a shell script to find the sum of first 100 even

numbers.
17-Write a shell script to find the factorial of given number
18-Create a shell script to display output on a screen.
1
22
333
4444
19-Create a shell script to display output on a screen.
1
12
123
1234
20-Create a shell script to display output on a screen.
1
23
456
7 8 9 10
21-Create a shell script to display output on a screen.
*
**
***
****
*****
22-Create a shell script to display output on a screen.
1
01
101
0101
10101
23-Create a shell script to display output on a screen.
1
01
101
0101
10101
24-Create a shell script to display output on a screen.
1
22
333
4444
55555
25-Create a shell script to display output on a screen.
*
**
***
****
*****
26-Create a shell script to display output on a screen.
1
23
456
7 8 9 10
27-Create a shell script to display output on a screen.
1
23
345
4567
56789
28-Create a shell script to display output on a screen
*
**
***
****
***
**
*
29-Create a shell script to display output on a screen.
1
121
12321
1234321
123454321
30-Create a shell script to display output on a screen.
1
232
34543
4567654
56789876

You might also like