Question
INTRO TO UNIX QUESTIONS. Please, Answers only! Thanks. 1. Write a script to calculate the sum and average of two input numbers. -You will first
INTRO TO UNIX QUESTIONS.
Please, Answers only! Thanks.
1. Write a script to calculate the sum and average of two input numbers.
-You will first get the numbers from the users.
2. Write a bash script to check input value if equal to 5,
-if its true then program will print Value of i is 5
-Otherwise program will go to elif statement where one more condition will be checked and based on these results elif or elase block code will be executed.
3. Write a BASH script to compare numbers in Linux shell.
4. Write a small shell program for finding the greatest value between 3 values taken input by user.
-This program will work with numeric values only.
-If two values are similar it will print only one value.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started