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,j,len=0,word=1,lens=0,ll=1;
char str[100];
clrscr();
printf("ENTER THE STRING: ");
gets(str);
for(i=0;str[i]!='\0';i++)
len++;
if(str[i]==' ')
word++;
else
lens++;
}
printf("CHARACTERS WITH SPACE : %d\n",len);
printf("CHARACTERS WITHOUT SPACE : %d",lens);
printf("\n WORDS : %d",word);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH MENGAR
CHARACTERS WITH SPACE : 14
CHARACTERS WITHOUT SPACE : 13
WORDS : 2
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes
c progam for decode the code
luminous jewel polishing necklace, c/c++ programming
GetChar - get a character from the keyboard, echo to the display and return it in reg al. - Note: if a linefeed (LF) is received (Enter key), a carriage return (CR) will als
Array of Objects: The objects can be declared just like a structure or even a primary data type. Array of objects may be required to work with large set of data. When the da
Explain the Macros? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it. Usually the preprocessor performs
The program must use the file named on the command line as its input file. Suppose the program is named pdbtool. Then if the user types pdbtool 1A36.pdb the program must read the d
Your program will read two kinds of data from two files: names and predicates. It will read a formal expression from standard input and check whether that expression is syntactical
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Write a C++ program that can be used to evaluate the credit worthiness of a client. The program reads the credit limit and the price and quantity of the item to be purchased by the
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