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
# include stdio.h> # include string.h> # include conio.h> void main() { int i=0,count=0; char a[100],b; clrscr();
Program for calculate average of total marks: #include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0;
THIS PROGRAM IS TO DISPLAY A STOCK CONTAINING ITEM CODE,ITEM NAME,PRICE AND ANOTHER STOCK WITH CODE & QUANTITY AND DISPLAY COMPLETE INFORMATION #include #include #include
What is conversion operator? Explain it with example.
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
I need help in the C++ programming assignment. I can send the files the assignment is times 3hrs.
How I get C, C++, C# .net assignments ?
algo of stack using two queue
The #undef Directive This directive undefines a previously explained macro. For, example the following will give an error since PI is undefined. #define PI 3
A:BinaryHeap.h ------------ #ifndef BINARY_HEAP_H_ #define BINARY_HEAP_H_ #include "dsexceptions.h" #include "vector.h" // BinaryHeap class // CONSTRUCTION: wi
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