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
An HTML document may be created via any HTML editor or text editor such as notepad etc.
Write a Program to illustrate the call by value? #include . int compute_sum(int m); int main( void) { int n=3, sum; printf("%d\n",n); /*3 is printed */ sum=compute_sum(n
The system you will develop should provide the following functionality to its users. 1. Your system should allow the users to aggregate three different RSS feeds (they should
what is human resource
Introduction Currently, Omega has 178 stores UK wide. Most cities and large towns within the UK are catered for by Omega. Omega began in 1960's selling various makes of telep
How do you get the complexity of an algorithm? What is the relation b/w the time & space complexities of an algorithm? Justify your answer with an example.
I am still waiting on a quote from you
Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s
The ?rst task in the project is to develop a sane system to store change logs and versions of ?les. The simplest approach is to create a "dot" directory in the location of the ?le
Pseudo code the shows logic for a program that generates a random number, then ask the user to think of a number between 1 and 10
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