12-13-2011, 09:22 PM
(This post was last modified: 12-13-2011, 09:26 PM by aditya2304.)
@ Ravi gajul
Thanks a lot ravi for ur solution ... this wil work fine but u haven't used functions...i want the same program to be coded using functions
@sankalp
I think the requirements are very clear..
A program needs to be coded using functions which have 7 elements(after increasing array size from 4 to 7) and then to find out which of the elements are prime out of the 7 elements.
If program is coded in such a manner that using functions it can find out all the prime numbers present in an array,,, then i think we can get a perfect program
Awaiting ur reply
Thanks a lot ravi for ur solution ... this wil work fine but u haven't used functions...i want the same program to be coded using functions
@sankalp
I think the requirements are very clear..
A program needs to be coded using functions which have 7 elements(after increasing array size from 4 to 7) and then to find out which of the elements are prime out of the 7 elements.
If program is coded in such a manner that using functions it can find out all the prime numbers present in an array,,, then i think we can get a perfect program
Awaiting ur reply