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
The following function calls supposedly write a single new-line character, but some are incorrect. Identify which calls don't work and explain why. printf("%c", '\n');
Write a function that converts a character array to a signed floating point number. Function prototype must be as follows: int asciiToFloat( char *str, unsigned char* eflag) Follow
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
Add macros to MS word 2010 according to A PARTICULAR FORMAT
create a small database for a company, require at least 4 tables. also, have 4 business report, oracle built-in function, 5 string, 5 number or math functions, 5 date and time func
How to build one dimensional list from string and build string from a list? Suppose input string is: STACKOVERFLOW then the output list should be outputList = [S,T,A,C,K,O,V,E,R,F
Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n
Extensive programming platform .NET It is a new, simple, and comprehensive selection foundation. It is not a selection terminology, but it can handle several selection dialects.
Use list recursion to dene the function mySum which takes as input an integer and a list of integers and returns the list obtained by adding every element of the list by the rst
i need help with the sequence diagram
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