- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Re:
I got the first part of my code from my teacher, its how the function should be done, I am just have trouble with what to put for my cin statments as, none of them work. Please help. [CODE]#include <iostream> using namespace std; void reverse(int* a, int n) { int* … |
|
I am trying to merge two vectors, alternating elements from both vectors. And if one vector is longer than the other, alternate as long as possible then append the remaining elements from the longer vector. This is what I have so far: [CODE]#include <iostream> #include <algorithm> #include <vector> #include <iterator> … |
|
In a question i am required to add every other number starting from the right most side and going left on every other number. I have a code that is almost right as i am led to beleive. the code is: [CODE]#include <iostream> #include <cmath> int main () { int … |
|
okay so im new to programming and have an assignment im not sure how to do the question is. The original U.S. income tax of 1913 was quite simple. The tax was [INDENT]1 percent on the first $50 000[/INDENT] [INDENT]2 percent on the amount over $50 000 up to $ … |