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,j=0,b=0,count=0;
int a[100];
for(i=0;i<100;i++)
a[i]=0;
}
i=0;
clrscr();
printf("\nENTER THE LIMIT OF NO: ");
flushall();
scanf("%d",&j);
for(i=0;i { printf("\nENTER THE NO %d:-",i+1); scanf("%d",&a[i]); } printf("\nENTER THE NO THAT U WANT TO COUNT: "); flushall(); scanf("%d",&b); for(i=0;i { if(b==a[i]) { count++; } } printf("\nTHE NO %d IS REPEATED %d TIMES",b,count); getch(); } OUTPUT : ENTER THE LIMIT OF NO: 4 ENTER THE NO 1 : 5 ENTER THE NO 2 : 4 ENTER THE NO 3 : 4 ENTER THE NO 4 : 4 THE NO 4 IS REPEATED 3 TIMES
printf("\nENTER THE NO %d:-",i+1);
scanf("%d",&a[i]);
printf("\nENTER THE NO THAT U WANT TO COUNT: ");
scanf("%d",&b);
for(i=0;i { if(b==a[i]) { count++; } } printf("\nTHE NO %d IS REPEATED %d TIMES",b,count); getch(); } OUTPUT : ENTER THE LIMIT OF NO: 4 ENTER THE NO 1 : 5 ENTER THE NO 2 : 4 ENTER THE NO 3 : 4 ENTER THE NO 4 : 4 THE NO 4 IS REPEATED 3 TIMES
if(b==a[i])
count++;
printf("\nTHE NO %d IS REPEATED %d TIMES",b,count);
getch();
OUTPUT :
ENTER THE LIMIT OF NO: 4
ENTER THE NO 1 : 5
ENTER THE NO 2 : 4
ENTER THE NO 3 : 4
ENTER THE NO 4 : 4
THE NO 4 IS REPEATED 3 TIMES
Project Description: We own proprietary software which long ago had Copyminder protection added. We no longer have the source code or a relationship with the original coder and
Write a program to process bank accounts. Create a base class named Account and two derived classes named Savings and Checking. In the base class, use an int AccountNum and a dou
electricity biil code
Question: (a) Write short notes on arrays. Extend your answer by putting emphasis on memory allocation. (b) Write a C++ program to input an integer n followed by n real-
c program to find pebble merchant
what is programming?
#write a program that counts the number of occurances of the string in the n-th padovan string p(n)
What is the use of default constructor? - It's a constructor that doesn't accept any parameters. - If there is no user-defined constructor for a class, compiler declares a d
how to define a contanst in a flowchart like we do in c language
Manipulators There are several classes in the iostream.h header file. One of them is ios class. This class stores the format state. For example, some bits explain the base in w
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