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!
void main()
{
int i=0,k=0,word=0;
char a[30],temp;
clrscr();
printf("ENTER THE STRING: ");
do
a[i++]=getchar();
}while(a[i-1]!='\n');
a[i]='\0';
printf("%s",a);
for(i=0;a[i]!='\0';i++)
if(a[i]==' ' || a[i]=='\n')
word++;
temp=a[k];
a[k]=a[i-1];
a[i-1]=temp;
k=i+1;
}
if(word%2==0)
printf("\nNO OF WORDS ARE %d",word);
getch();
OUTPUT
-ENTER THE STRING: KAMLESH
AMLESHK
MLESHKA
LESHKAM
ESHKAML
SHKAMLE
HKAMLES
KAMLESH
This is what I need help with. "Create a program creates an interface allowing the user to select from some other programs I have made one being a money converter and the other ca
find the minimum shelf
algorithm to find out all the factors of given positive integers
Prepare Windows Shell Extension Project Description: Skills required are C++ Programming, Windows Desktop, Windows API
Find out initial basic feasible solution for the given transportation problem using Least Cost Method (LCM).
Q: What are User Defined data types? C supports an extraordinary feature known as "type definition" that permits users to define an identifier that would represent an existing
Sine function computation
Add words in Dictionary: void Dictionary::add( Object& objectToAdd ) { if( !objectToAdd.isAssociation() ) ClassLib_error( __ENOTASSOC ); else
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
There are so many different concepts related with OOP (Object-oriented programming) such as: Class Object Inheritance Polymorphism Abstraction Encapsulation
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