User profile: Areey

User info
User name:Areey
Name:Areey Mukhtaryan
Location:Mahabad.
Bio:Just starting out.
History
Joined:
Number of posts:17
Latest posts:

how do you exit a program after meeting a certain condition?
http://www.cplusplus.com/reference/cstdlib/exit/ hope it helps.

Sum of prime numbers of an array
[tt]AbstractionAnon[/tt] that was a great explanation. thank you for sharing your time :).

Sum of prime numbers of an array
I'm trying to figure out where the problem is but im kinda lost.I'm not familiar with functions or ...

solve
when using using namespace std; ...

Base and exponents
how to write this line? e=y^2+y^4+y^8. I tried this but it doesnt do the job [code] int main()...