Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Mu Question is

write a progam tah inpute 10 int in aray and conts all primary no. entered by user.the program finally displays total no of primes in arry.

i am user of c# my friend say me to complete it's assignments plze..help me
Posted
Updated 6-Mar-14 0:20am
v2
Comments
phil.o 6-Mar-14 5:22am    
This is not a question: this is just the work that has been assigned to you and that you're hoping we will do for you. But I'm afraid that won't happen. Why? Because basically what you are trying to do is cheating.

Yep. Ok. Done it.

Now what?

I'm not sending it to you: we do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 
The seven steps of wisdom:

First step: learn to read and write properly. Computers don't take well to typos - even less to the willful mutilation of their language.

Second step: recognize that to some degree the same is true for most other people.

Third step: learn to learn. Hint: having others do your homework isn't part of this.

Fourth: while working on your homework, pin down the exact subject that you have difficulties to grasp - if any.

Fifth, formulate a question that is specific and easy to read and understand to someone who doesn't have the original task in front of his eyes.

Sixth: experience the friendly and competent community responses that result from well-written questions.

Seventh: profit!
 
Share this answer
 
Comments
Usman Hunjra 6-Mar-14 13:34pm    
+5 :)
The input/output part is trivial. The primality test is more challenging if you don't impose constraints on the range of the input numbers. You could start from the "Primality test" page at Wikipedia[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900