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
Determine the address accessed by each of the following instruction if DS=1100H, BX=0200H, LIST=0250H AND SI=0500H-: 1) MOV LIST[SI],EDX?0250+0500+11000=11750 2
Plan, design and dry run a program for the Little Man Computer (LMC) that produces the same result using a fixed number of 10 iterations.
Objective: The purpose of this programming project is to explore page replacement algorithms. This can be accomplished by developing a simple simulator that implements various pag
Write a Perl script that prints the contents of a file Write a Perl script that prints the contents of a file, prefixing each line with a line number. The script should acc
1. Write the dual of the above max-?ow problem. 2. Solve both problems with AMPL, and for each print the values of the vari- ables and the values of the dual variables (if a p
I do have an assignment in operating systems programming ... how can i attach my file?
I am getting error at business layer object in code behind page.
a) Write a program i_language(Sentence,NewSentence) that translates a sentence to the i-language. In this language all vowels are changed to i and all other characters are kep
Write a function drawCA(aname, coords) that uses the plot3 command to draw the C α backbone of the protein. When calling this function, you should pass in the aname and coords var
Oracle 11G Reports We are troubleshooting the pagination of Oracle reports when printed from a browser. We need help determining the issue and correcting within the report ou
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