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
Define Multi File Program? While writing large programs we must divide programs up into modules. These would be separate source files and the main() function would be in one fi
Project Description: I will need a tutor that would help me out in Data Structure and learning Algorithm more at the mathematical/algorithmic level. The book is written by "by T
Problem: (a) Describe a linked list. (b) Explain the three different types of linked list with the help of diagrams. (c) Give two advantages and two disadvantages o
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.
what is c++ ?
This problem familiarizes you with using random numbers in C++. The program is to compute a good approximation of π using a simulation method called "Monte Carlo". The following fi
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Precautions with function overloading Function overloading is a boon to designers, since dissimilar names for same functions need not be thought of, which often is a cumbersome
#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi
please send code for inverted index file
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