Objective
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.
Steps
$ ./add_prime_sum 10
17
$ ./add_prime_sum 5
10
$ ./add_prime_sum
0
Expected files
Allowed functions

Objective
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.
Steps
$ ./add_prime_sum 10
17
$ ./add_prime_sum 5
10
$ ./add_prime_sum
0
Expected files
Allowed functions

Tests
Run the tests to grade your code