Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
10. W.A.S.S to find maximum and minimum number from numbers passed through command line.
Program
# W.A.S.S to find maximum and minimum number from numbers passed through command #line.
cnt=$#
# //$# gives the count of total number of command line arguments
if [ $cnt -gt 0 ]
then
min=$1
max=$1
for i in $* # $* stores the command line arguments
do
if [ $i -gt $max ]
max=$i
elif [ $i -lt $min ]
min=$i
fi
done
echo "Minimum is : $min"
echo "Maximum is : $max"
else
echo "Enter the command arguments properly:"
Output
sh cmdline.sh 23 12 45
Minimum is : 12
Maximum is : 45
A specification of a function TOARR is given below. function TOARR(n in Int, s in Stack of Int) return in Array of Int pre n ≥ 0. post The returned value is an array of size
Implement the pull-down menu package
Identifying the Central Individual in a Social Network 1. Introduction You have just been hired by a social networking company! The division you are working in is particul
A psychologist is interested in learning about the voting behavior of college students. (4 points for each part.)Design a study which would yield data on this topic. a. state y
Padovan String Problem Description A Padovan string P(n) for a natural number n is defined as: P(0) = 'X' P(1) = 'Y' P(2) = 'Z' P(n) = P(n-2) + P(n-3), n
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
A hardware store sells the following hardware tools: screwdriver, wrench, and tape measure. You are asked to calculate the profit for the store based on the number of tools sold an
I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME
i attached the assignment document only i need your help with following three parts: accessible areas, accessible cul-de-sacs that are all connected, entry-exit path with no in
please decode the following as it is answer for my assisgnment for python: Ñò üOLOc @ s‚ d „ Z d „ Z g Z xYe oQe ƒ e d ƒ i ƒ Z e d j oI e d
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd