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!
Convert the given amount into words.
echo -e "Enter the amount: \c"
read amt
temp=`grep $amt rupees.txt | wc -l`
if test $temp -gt 0
then
grep -w $amt rupees.txt | cut -d " " -f2
else
rw=""
len=`echo "$amt" | wc -c`
i=1
while test $i -lt $len
do
temp=`echo "$amt" | cut -c$i`
if test $i -eq 1
if test $amt -gt 10
temp=`grep "^$temp" rupees.txt | cut -d " " -f2 | tail -n1`
rw=`echo "$rw $temp"`
temp=`grep "^$temp" rupees.txt | cut -d " " -f2 | head -n1`
fi
i=`expr $i + 1`
done
echo $rw
Output
Enter the amount: 66
Sixty Six
Enter the amount: 15
Fifteen
Exception handling Exception handling is a mechanism that separates code that detects and handles exceptional circumstances from the rest of your program. Note that an exceptional
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Objective: In a programming language of your choice, write an intelligent agent able to play block Dominoes against a player. Together with this assignment you will find two pa
( Airline Reservations System ) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to w
Write and test a simple perl program on the linux platform. You may use any linux system you wish, including the Suse linux installed in the lab. Activities. Note: to r
how to store multidimensional array in a single column in mysql database using MATLAB?
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
You are required to develop a content management system for the following scenario: "A Travel Information (NTIK) system is to be designed to allow travellers to access to an elec
How does a Case Structure differ from a Case structure program in pseudocode
Develop (i) a context diagram and (ii) a use case diagram to model the following functionalities of NetFlix. Netflix is an online video/DVD renting company. A customer desiring
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