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
I do have an assignment in operating systems programming ... how can i attach my file?
W.A.S.S to find the factorial of a given number. Program # W.A.S.S to find the factorial of a given number. echo -e "enter number:\c" # \c Suppress trailing n
Tamagochi were all the rage in the 90's as a small toy that had limited functionality but modelled a pet. The "owner" could do the following • Feed the pet • Heal the pet
What are the Functions in Computer Programming? A program is completed up of one or more functions, with one of these being main(). Function is a self-contained block of progra
Use recursion to dene a function position which has as input an integer, a character and a string and returns the result of inserting the character in the string at the position s
A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars. A t
Provide Example of Function? An illustration of a function definition main() { message(); } /* header */ message() { /*bodystarts here*/ printf ("Example for function
What are the main pros and cons of assembly programming language?
Real Distinct Eigenvalues Under this case we'll have the real, distinct eigenvalues l 1 ≠l 2 ≠l 3 a and their related eigenvectors, ?h 1 , ?h 2 and ?h 3 are guarantee
how to make a program using vb?seriously i don''t know
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