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
Problem 1. What are the potential advantages of treating two related classes as subclasses of some superclass? 2. Explain the various tools for software implementation 3.
A company produces three sizes of window fans small, medium and large. the manager has formulated an LP model for fan production Maximize 6x1+8x2+5x3
1. Write out a detailed plan for a program to find the largest value in an array that is smaller than a ceiling C. For example, suppose the array has the values {4, 14, 11, 100, 6}
Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, char *t); retu
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Explain what is HTML language with an example? HTML is the HyperText Markup Language. HTML files are text files featuring semantically tagged elements. HTML filenames are suff
What is .NET? It is a foundation fairly neutral structure. Is a coating between the son and the selection language? It can handle many selection dialects, such as VB.NET,
What are program visible and invisible resisters? A4) Program visible is those registers that can be programmed by the users, or which are customizable, whereas Program invisible
I have doubt in this section .do-while loop.could you able to clear it for me.
i''ve a problem with rendering a page with django templates
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