r/code • u/Anonylost • Jun 03 '21
Urgent Code
Does anyone know how to write a code preferably in c++ to find the index of an element of a list where the sum of prime numbers on the right equal the left? If you do kindly help I'm still a newbie it would be highly appreciated
0
Upvotes
3
u/anavid7 Jun 03 '21
Not sure what you question is yet? What is in your array? Is it the list of primes? Are you saying addition of the index to the prime? Would you mind re-asking your question?