Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.80K
1 Posted Topic
Write a function alternatingSum(N) that computes the sum of the numbers 1 through some integer N, where the signs alternate between + and -. For example, alternatingSum(7) should print 4 because 1 - 2 + 3 - 4 + 5 - 6 + 7 = 4. Then write the main …
The End.