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: I need to convert AFL code of Amibroker to DLL plugin to hide original formula, and also to protect the DLL and making it hardware locked. I need to wrap th
Hello, Do you have any idea for programming project to simulate a network attack (threat) mechanism or a defense mechanism. Can I get some suggestions for this. Please include th
Ask question #Minimum 100 words awhat is the pre condition for binary searching ccepted#
Define some features of register storage class in c program? The feature of variable defined to be of register type all as follows: Storage - CPU registers Default initia
Explain the bit fields portable or not? - No, Bit fields aren't portable. - As Bit fields can't span machine words and number of bits in a machine word is different on diff
Friend function in c++: class miles; class km { float value; public : // void input(); km convert(km ,int a ) ; void output() {
I need the c++ program of class bank accout including balance,rate of interests
M em b e r d e r e f e r e n c i ng o p e r a t o r s: T h e s e op e r a t o r s w i l l b e d i s c u s s e d l a t
How to define a derived class ? A singly inherited derived class id defined by writing : The keyword class. The name of the derived class . A single colon (:).
#question write a prog c & cpp
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