Question
Write shell script to display following shapes. For each program need get input from keyboard for size of a shape. . Do not use (())
Write shell script to display following shapes. For each program need get input from keyboard for size of a shape. . Do not use (()) in looping or any value evaluation
a. Diamond - a diamond size is determined by wide of base. A base value must be odd number greater than 3. Your program must validate an odd number input from keyboard.
b. Left-Arrow - left arrow size is determined by two numbers: a length of tail and a wide of base of arrow head. The wide of the base cannot be an even number, and your program should check to make sure that base is always odd number.
c. c. Right-Arrow - right arrow size is determined by two numbers; length of tail and wide of base of arrow head. The wide of the base cannot be an even number, and your program should check to make sure that base is always odd number.
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