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!
# include stdio.h>
# include string.h>
# include conio.h>
void main()
{
int i=0,count=0;
char a[100],b;
clrscr();
for(i=0;i<100;i++)
a[i]=0;
}
i=0;
printf("\nENTER THE STRING: ");
gets(a);
printf("ENTER THE CHARACTER U WANT TO COUNT; ");
scanf("%c",&b);
for(i=0;a[i]!='\0';i++)
if(a[i]==b)
count++;
printf("\nTHE CHARACTER IS %c",b);
printf("\nTHE TOTAL OF ABOVE CHARACTER IS %d",count);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH D MENGAR
ENTER THE CHARACTER WHICH U WANT TO COUNT: A
THE CHARACTER IS A
THE TOTAL OF ABOVE CHARACTER IS 2
n=250 m=3
#q•Design and code a new function that accepts as parameters the gross pay by value and the federal tax, state tax, local tax, SS tax, and net Pay by reference. Calculate the taxes
A skilled programmer is required to build a standalone module to extract, parse and store in database tables, word count data from web pages and RSS feeds. The module will take
C Program for MAXIMUM NO, MINIMUM NO AND SORTING void main() { int i,j,t; int a[5]; clrscr(); for(i=0;i
The default Constructor and Destructor If you fail to write a constructor and destructor function, the compiler automatically supplies them for you. These functions have publi
Rahul is a newbie to the programming and while learning the programming language he came to know the following rules: ???• Each program must start with ''{'' and end with '
write a pseudo code for computing sin(x) using sentinel control loop
Abstraction is of the process of hiding unwanted details from the user
Make QtAV Videoplayer simple integrateable for Qt Applications Project Description: I'm preparing an application for Windows and Mac using QtCreator. I want a videoplayer
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
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