
Write a program called add_prime_sum that computes and prints the sum of all prime numbers up to and including the integer passed as its only argument.
./add_prime_sum 1017
./add_prime_sum 510
./add_prime_sum0
add_prime_sum.cwriteexit
Run the tests to grade your code
Write a program called add_prime_sum that computes and prints the sum of all prime numbers up to and including the integer passed as its only argument.
./add_prime_sum 1017
./add_prime_sum 510
./add_prime_sum0
add_prime_sum.cwriteexit
Run the tests to grade your code
Memory will appear here