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
Write an algorithm to print all even numbers in descending order and draw the flowchart.
how to make the coding
C Program for SORTING # include stdio.h> void main() { char a; int *p; int i,j,temp; clrscr(); p=&i;
palindrome program with minimum character replacements
In order to override a method, a subclass of the class which originally declared the method have to declare a method along with the same name, return type (or a subclass of that re
Write a program to sort an array of strings. Use new and delete operators. Write a program to find the factorial of a number using recursion. If we do not accept the number
The #define Directive The #define directive explains a macro which is a text string represented by a name. Whenever the pre-processor finds this name in the program, it is repl
What are all of the implicit member functions of the class? Or what are all of the functions that compiler implements for us if we don't describe one? A: 1. copy ctor
Suppose that three integer variables intA, intB, and intC have already been defined at the beginning of the main function, write a single C++ statement to read three integers from
1.1 A Few Notes: 1. Please test your program with various inputs prior to submission. 2. All group members must understand the entire project for interactive grading. Equal
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