Questions tagged [adder]
The adder tag has no usage guidance.
3
questions
0
votes
1
answer
34
views
How to Add results of a for loop
any ideas on how I could add the results of a for loop in C?
I'm currently working my way through lecture 1, so I only know a few skills in C so far. My for loop does what I need it to do - it outputs ...
0
votes
1
answer
64
views
Can't compile adder from week 1
im trying to compile my program but a problem keeps popping up and i cant seem to understand why. Here's the program and the problem.
1
vote
1
answer
25
views
Why is the definition of the adder function outside of the main function?
In the functions short for week 2, we see the basic adder and multiple functions. The code for this function looks like:
int mult_two_reals(int a, int b);
int main(void)
{
printf("Give me a real ...