Write A Shell Script To Find Whether An Input Integer Is Even or Odd
Write A Shell Script To Find Whether An Input Integer Is Even or Odd
2. Write a shell script to find out the greatest among three inputs
3. Write a shell script to calculate the net salary of an employee in a particular month
considering various allowances (TA, DA, HRA) and deductions (INCOME TAX, PROVIDEND
FUND) as:
5. Write a shell script to perform an arithmetic operation upon two inputs. The operation should
also be input by the user
8 Write a shell script to find out the ny, where n and y must be input by the user.
10 Write a shell script to generate the series of even number from 0 to n. 0 2 4.....n
12 Write a shell script to generate the primes between two given numbers.
13 Write a shell script to find out the sum of series 1+2+3+………….n, where n is
input by the user.
5,000 or more per year and a fixed bonus of Rs 250 to all other employees.
16 Write a shell script to compare two strings input by the user for equality.
17 Write a shell script to count the number of characters, words, spaces in a given text
19 The marks obtained by a student in five different subjects are input through the
keyboard. The student gets a division as per the following rules. (Using else's clause).
20 The marks obtained by a student in two different subjects are input through the
keyboard. The student gets a division as per the following rules. (Using elif clause).
23 Write a Program to check whether a number given by the user is zero, positive or
negative.
25 The length & breadth of a rectangle and radius of a circle are input through the
keyboard.
26 Write a program to calculate the area & perimeter of the rectangle, and the area &
circumference of the circle.
27 If a five digit number is input through the keyboard, write a program to calculate the
sum of its digits.