answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

void main()

{

int num[25];

int i,j,k=0;

for(i=0;i<=24;i++)

{

printf("Enter numbers : ");

scanf("%d",&num[i]);

}

printf("\nEnter the number to be searched : ");

scanf("%d",&j);

printf("\nthe is %d",j);

for(i=0;i<=24;i++)

{

if(num[i]%j==0)

k=k+1;

}

printf("\nIt is repeated %d times."k);

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When 25 numbers are entered from the keyboard into an array the number to be searched is entered through the keyboard by user write a program in C to find if number to be searched is present?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the present of searched?

The present participle is searching.


What is the present perfect tense of search?

Have/Has searched.


What is the present perfect tense of the verb search?

Have/Has searched.


What is the present perfect tense of enter?

I/We/You/They have enteredHe/She/It has entered


What is the adjective form of the word search?

The adjective forms for the verb to search are the present participle, searching (a searching look), the past participle, searched (the searched records), and the adjective searchable.


What is past tense of searching?

Searching is the present participle of the verb search. The past tense is searched.


Can a residence be searched if the occupant is not home?

If done by means of a warrant, yes. The occupant(s) need not be present.


Where is the times button on the Mac keyboard?

On a keyboard the times button has the symbol "*" printed on it, this is usually found as upper case "8" but there may also be a "*" present on the numeric keypad section of your keyboard, if your keyboard has this.


Where is a divison sign on a keyboard?

On a keyboard, the division sign often used in schools ( &divide; ) is not typically present, instead the solidus or 'forward slash' ( / ) should be used.


How do you prove wrong address on warrant after search?

Present proof to the court that the premises that were searched were NOT the address contained on the warrant.


Why should we have a keyboard?

We need a keyboard so we can present information to a person or system (such as a search engine) in the form of text


How many keys are present in modern keyboard?

Different languages have different hardware. Most often a 101 key keyboard is supported by most software.