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!
C Program for FUNCTION OF COUNT THE CHARACTERS IN EACH WORD
void count(char c[]);
void main()
{
char a[50];
int i=0;
clrscr();
printf("ENTER THE STRING: ");
do
a[i++]=getchar();
}while(a[i-1]!='\n');
a[i]='\0';
count(a);
getch();
}
void count(char a[])
int i=0,l[25],c=0;
for(i=0;i<25;i++)
l[i]=0;
for(i=0;a[i]!='\0';i++)
if(a[i]!=' ' && a[i]!='\n')
l[c]=l[c]+1;
else
c++;
for(i=0;l[i]!=0;i++)
printf("WORD : %d : %d\n",i+1,l[i]);
OUTPUT :
ENTER THE STRING: KAMLESH D MENGAR
WORD 1 : 7
WORD 2 : 1
WORD 3 : 6
#write code for rotation in c
Example for external storage class - computer programming? extern double sin (double); In a function prototype, for the sin() function its function definition ~ we can write
I need to implement a mini version of linux''s ''tar'' function in C.
Write a C program to input your full forename and full surname. e.g James McCarren and display in one string your complete initial and surname i.e J McCarren . Your initial should
#include "stdafx.h" #include iostream using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int NumbHold[5]; int * ptrNumb;
write a program to find the minimum number of shelves
#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 palindrom
3 kilograms of peebles are needed for converting an area of 1 square meter.the rate of the peeble is 5 per kilogram
C Programming and Data Structures 1. Define and explain flow chart with an example. 2. Write an algorithm to print all even numbers in descending order and draw the flowcha
Create a pseudocode in getting Calendar Quarter. The program should identify which quarter falls the given date. Note: Consider the date format DDMMYYYY.
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd