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
Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed
#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. Ne
Explain redirection in c++
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
# include stdio.h> # include string.h> # include conio.h> void main() { int i=0,count=0; char a[100],b; clrscr();
C Program to Check EVEN & ODD NO main() { int n, a; clrscr(); printf("ENTER ANY NUMBER: "); scanf("%d", &n);
Force, F = ma
Explain about the Variables in c language? The Variable is an identifier that is used to represent some specified kind of information within a designated portion of the program
To write a program to use different levels of array of pointer to pointer & display the output as 1 1 1 2 2 2 3 3 3
Hi I''m trying to connect to CISCO router using termios. So I decided to have two threads one for reading data and the other one for writing data. The problem is that I have to add
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