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!
Program is to check whether the string entered is a palindrome or not:
Program is to check whether the string entered is a palindrome or not invoke function from main
int palindrome(char *st);
void main()
{
clrscr();
int x;
char *st;
int ans;
cout<<" enter the string ";
cin>>st;
ans=palindrome(st);
if (ans==0)
cout<<" the string is palindrome ";
else
cout<<" the string is not a palindrome ";
}
int palindrome(char *st)
int i;
int l=strlen(st);
for(i=0;i { if (st[i]!=st[l-1-i]) return 1; } return 0; }
if (st[i]!=st[l-1-i])
return 1;
return 0;
make use of class objects two calculate average
WHAT IS CGI?
A more advanced data type is the structure; here we can define a template as a collection of different variables e.g. struct birthdate { int month; int day;
Depreciation to a salvage value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight line method of depreciati
When I develop a destructor, do I require to explicitly call the destructors for my member objects?
Mathematical Statements and assignments Within C we can directly load up the variable from within the program using the mathematical expression equates (=) e.g. a= 'h'
This problem familiarizes you with using random numbers in C++. The program is to compute a good approximation of π using a simulation method called "Monte Carlo". The following fi
Explain the Working of strcpy Function? strcpy() : This function is meant to use to copy one string to another. The strcpy function as well accepts two strings as arguments.
Looping Statements The statements usually used for looping are for, do-while, while. The goto statement can be used for looping, but its use is generally avoided as it leads to
please do send me the coding of this program
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