#!/bin/bash
clear
function verify
{
if [$# -ne 2]
then
echo "Wrong number of arguments!"
else
if[$1 -eq "Bob"] &&[$2 -eq "555"]
then
echo "Verified"
else
echo "Rejected"
fi
fi
}
verify Bob 555
#!/bin/bash
clear
function verify
{
if [$# -ne 2]
then
echo "Wrong number of arguments!"
else
if[$1 -eq "Bob"]&&[$2 -eq "555"]
then
echo "Verified"
else
echo "Rejected"
fi
fi
}
export verify
subprogram1