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
I have doubt in this section .do-while loop.could you able to clear it for me.
1. You have been asked to write a computer program that will figure out the total of an order when given the amount of the order ($200) and a sales tax rate of five percent. I w
For this assignment you will read a file expression.txt and create an expression tree. The expression will be a valid infix expression with the all the necessary parentheses so tha
XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo
OOPS Concepts Object-oriented programming (OOP) is a computer science term used to characterize a programming language that began development in the 1960’s. The term ‘object-orient
Write a program that inputs two positive integers of, at most, 20 digits and outputs the sum of the numbers. If the sum of the numbers has more than 20 digits, output the sum with
Write a booking and pricing system for seats for performances in a theatre. Design and write a system to handle information (equipment, people, events etc.) for a club. Given
The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke
need some one to help me with malab
Please choose the best tutor to rewrite my assignment Ticket ID # EM201713THA711DSTN.because insructor does not accept. Thank you
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