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!
W.A.S.S to check whether a given number is palindrome or not.
Program
# W.A.S.S to check whether a given number is palindrome or not.
echo "Enter any no.:"
read num
temp=$num
rem=0
len=0
result=0
while test $temp -gt 0 # loop to find the revese of the given number
do
rem=`expr $temp % 10`
result=`expr $result \* 10 + $rem`
temp=`expr $temp / 10`
done
echo "$result "
if test $result = $num #if reverse of no is same as given no
then
echo "Entered no is palimdrom"
else
echo "Entered is not a palimdrom"
fi
Output
Enter any no.:
1221
Entered no is palimdrome
1234
4321
Entered is not a palimdrome
For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo
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
Define the Parameter Passing Mechanism - Computer Programming? The Parameters are syntactically identifiers and they are used within the body of the function and sometimes the
I am still waiting on a quote from you
I need an application that will gather data from one SQL Database and update another. Data is contained in dbo.CallList with following fields: Customer_ID, AlreadyPickedUp, Phone_N
A psychologist is interested in learning about the voting behavior of college students. (4 points for each part.)Design a study which would yield data on this topic. a. state y
how to store data in an array
Memory Hierarchy for Linux Systems A cache line has one or more valid bit(s), tag entry and list of bytes in a block in one set of a cache, as shown below: If you were
The aim of this task is to gain experience in using the popular Web languages XSLT, XQuery, DTD, XML Schema and RDF. The Content: The University is organizing a stage show wh
You are to write a program which will answer a pair of questions for squares, triangles, circles and ellipses. A square is defined by its lower left corner (SLLx,SLLy), and the len
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