DUE DATE: | 5:00pm Wednesday 9 January 2002 |
---|---|
WEIGHT: | 0% (ie. optional) |
SUBMISSION NAME: | comp2004s.a0 |
MARKING TYPE: | automated testing |
TASK: | Write a simple program which adds two integers |
<number> + <number> = <number>
where the first two numbers are the numbers which were input (in the same order) and the third number is their sum.
3 7
the output should be:
3 + 7 = 10
g++ -Wall -g -o adder adder.cc