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 string is palindrome or not.
Program
# W.A.S.S to check whether a given string is palindrome or not.
#07MCG20
echo "Enter any string"
read str
len=`echo $str | wc -c`
len=`expr $len - 1`
result=""
while test $len -gt 0
do
temp=`echo $str | cut -c $len`
result=`echo $result$temp`
done
echo "$result"
if test "$result" = "$str"
then
echo "Given string is palimdrom"
else
echo "Given string is not palimdrom"
fi
Output
Enter any string
madam
Given string is palimdrome
mca
acm
Why is this correct/when is this the right idea
Please write a program declaring a variable x as the type int, and use the scanf function to input an integer to initialize the value of x. Then, your program will print the follow
Define the Control statements in Computer Programming? The statements are part of the program that performs some action. The compiler will check a program sequentially from the
Let us say we have a list of 10 animal objects called "animals" in Alice. Write the code to move them forward synchronously by 1 meter.
Programming Project Specification: IRC or Internet Relay Chat is an application that lets multiple users communicate via text messages with each other in common "virtual" rooms.
I have a half done program that needs to be finished for a class by tomorrow night. The program will create a database and print out a menu ofoptions (already done). Ive already
i doing a project about depth estimation, i have done some research, and i used the block matching algorithm to get the motion vectors from the image sequences, i now have the prob
I want to set up automatic Amazon login
I need someone to make an ER diagram.
Object-oriented languages Languages that support OOP features can be classified into the following two categories: 1. Object-based programming languages, and 2. O
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